/* ============ GLASS — macOS Liquid Glass + 60/30/10 ============
   60% pearl glass · 30% graphite (the packaging black) · 10% Signal Orange, only on the one action per screen + badges */
:root {
  --page: #F3F3F5; --glass: rgba(255, 255, 255, .58); --glass-2: rgba(255, 255, 255, .78); --glass-edge: rgba(255, 255, 255, .75);
  --ink: #1C1C1E; --ink2: #5B5B63; --ink3: #8E8E96; --hair: rgba(28, 28, 30, .09); --hair2: rgba(28, 28, 30, .16);
  --graph: #1C1C1E; --graph2: #2C2C30;
  --loud: #FF6A1A; --loud-press: #E85A0C; --on-loud: #1D0B02; --glow-loud: 0 10px 28px -10px rgba(255, 106, 26, .7);
  --tp: #00b67a;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Hebrew", "Heebo", system-ui, sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1); --ease-drawer: cubic-bezier(.32, .72, 0, 1); --spring: cubic-bezier(.34, 1.36, .64, 1);
  --pad: clamp(16px, 3.6vw, 56px);
  --shadow-win: 0 0 0 .5px rgba(0, 0, 0, .12), 0 30px 80px -20px rgba(30, 20, 60, .35), 0 10px 30px -12px rgba(30, 20, 60, .2);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--page); color: var(--ink); font: 400 17px/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(10, 132, 255, .55); outline-offset: 2px; border-radius: 10px; }
.lat { direction: ltr; unicode-bidi: isolate; }
.wrap { width: min(1240px, 100% - 2 * var(--pad)); margin-inline: auto; }
.sample { display: inline-flex; font-size: 11px; font-weight: 600; color: #a35b00; background: rgba(255, 159, 10, .14); padding: 3px 8px; border-radius: 99px; }

/* wallpaper (fixed, decorative) */
.wall { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: #f5f4f2 url("../shared/img/wall-wide.webp") center / cover no-repeat; }
.wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(243, 243, 245, 0) 0%, rgba(243, 243, 245, .35) 60%, rgba(243, 243, 245, .7)); }
@media (max-aspect-ratio: 3/4) { .wall { background-image: url("../shared/img/wall-tall.webp"); } }

/* glass material */
.glass { background: var(--glass); backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%); box-shadow: inset 0 0 0 .5px var(--glass-edge), inset 0 1px 0 rgba(255, 255, 255, .9), var(--shadow-win); }
@supports not (backdrop-filter: blur(1px)) { .glass { background: rgba(255, 255, 255, .94); } }
@media (prefers-reduced-transparency: reduce) { .glass { background: #fff; backdrop-filter: none; } .wall { background: #f2f2f4; } }

/* menu bar (Hebrew macOS mirrors: app menu on the right, status items on the left) */
.menubar { position: fixed; z-index: 60; inset: 0 0 auto 0; height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 13.5px; background: rgba(250, 250, 252, .55); backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%); box-shadow: 0 .5px 0 rgba(0, 0, 0, .1); }
.mb-r, .mb-l { display: flex; align-items: center; gap: 4px; }
.mb-r a, .mb-l button, .mb-r b { height: 26px; padding: 0 9px; border-radius: 6px; display: inline-flex; align-items: center; gap: 6px; transition: background-color 120ms; }
@media (hover: hover) { .mb-r a:hover, .mb-l button:hover { background: rgba(0, 0, 0, .07); } }
.mb-r b { font-weight: 700; }
.mb-logo { width: 18px; height: 18px; border-radius: 50%; background: var(--graph); display: grid; place-items: center; }
.mb-logo svg { width: 11px; height: 11px; }
.mb-cart { position: relative; }
.mb-cart .n { min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--loud); color: var(--on-loud); font-size: 10.5px; font-weight: 700; display: grid; place-items: center; }
.clock { font-variant-numeric: tabular-nums; padding: 0 6px; }
@media (max-width: 760px) { .mb-r a { display: none; } .clock { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 14px; font-weight: 600; font-size: 16px; transition: transform 160ms var(--ease-out), background-color 200ms, box-shadow 200ms; }
.btn:active { transform: scale(.97); }
.btn-loud { background: var(--loud); color: var(--on-loud); box-shadow: var(--glow-loud); }
@media (hover: hover) { .btn-loud:hover { background: var(--loud-press); } }
.btn-glass { background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .06); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.btn-dark { background: var(--graph); color: #fff; }
.btn-sm { height: 36px; padding: 0 14px; border-radius: 10px; font-size: 14px; }

/* mac window */
.win { border-radius: 14px; overflow: hidden; }
.win-bar { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 16px; position: relative; direction: ltr; }
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .15); }
.lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }
.win-title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 13px; font-weight: 600; color: var(--ink2); white-space: nowrap; direction: rtl; }
.win-body { direction: rtl; }

/* reveal */
.rv { opacity: 0; transform: translateY(20px) scale(.98); filter: blur(8px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out), filter 800ms var(--ease-out); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; filter: none; }
.intro { animation: intro 900ms var(--ease-out) both; animation-delay: var(--d, 0ms); }
@keyframes intro { from { opacity: 0; transform: translateY(18px) scale(.98); filter: blur(8px); } }

/* ============ HERO BANNER ============ */
.hero { min-height: 100svh; padding: 92px var(--pad) 150px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(20px, 4vw, 70px); max-width: 1440px; margin-inline: auto; }
.hero-copy .chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 6px; border-radius: 99px; font-size: 13px; font-weight: 600; }
.hero-copy .chip b { background: var(--loud); color: var(--on-loud); border-radius: 99px; padding: 2px 8px; font-size: 11px; }
.hero h1 { font-size: clamp(48px, 6.6vw, 104px); line-height: .98; letter-spacing: -.04em; font-weight: 800; margin: 20px 0 18px; }
.hero h1 span { background: linear-gradient(90deg, #F7A21B, #8B5CF6 55%, #22B8E8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: clamp(17px, 1.4vw, 21px); color: var(--ink2); max-width: 30ch; }
.hero .ctas { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.hero .fine { margin-top: 14px; font-size: 13px; color: var(--ink3); }
.stage { perspective: 1600px; }
.prodwin { transform: rotateY(var(--ry, -10deg)) rotateX(var(--rx, 4deg)); transform-style: preserve-3d; transition: transform 900ms var(--ease-out); }
.prodwin .win-body { display: grid; grid-template-columns: 150px 1fr; min-height: 400px; }
.side { padding: 14px 10px; border-inline-end: .5px solid var(--hair); background: rgba(255, 255, 255, .25); font-size: 13px; display: grid; align-content: start; gap: 2px; }
.side h6 { font-size: 11px; color: var(--ink3); font-weight: 600; padding: 8px 10px 4px; }
.side button { text-align: right; height: 30px; padding: 0 10px; border-radius: 7px; display: flex; align-items: center; gap: 8px; transition: background-color 150ms; }
.side button[aria-pressed="true"] { background: rgba(0, 0, 0, .07); font-weight: 600; }
.side i { width: 9px; height: 9px; border-radius: 50%; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 22px 16px; align-content: center; }
.grid3:has(> :nth-child(4)) .tile img { height: 150px; }
.grid3:has(> :nth-child(4)) { grid-template-columns: repeat(4, 1fr); }
.tile { border-radius: 12px; padding: 10px 8px 12px; text-align: center; display: grid; justify-items: center; gap: 2px; transition: background-color 200ms, transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tile:hover { background: rgba(255, 255, 255, .5); } .tile:hover img { transform: translateY(-6px) scale(1.04); } }
.tile:active { transform: scale(.97); }
.tile img { height: 270px; width: auto; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .28)); transition: transform 500ms var(--spring); }
.tile b { font-size: 14px; margin-top: 8px; }
.tile span { font-size: 12.5px; color: var(--ink2); }
.tile .pp { font-weight: 600; color: var(--ink); }
.win-foot { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-top: .5px solid var(--hair); font-size: 12.5px; color: var(--ink2); background: rgba(255, 255, 255, .3); }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 70px; padding-bottom: 120px; min-height: 0; }
  .stage { perspective: none; }
  .prodwin { transform: none; }
  .prodwin .win-body { grid-template-columns: 1fr; min-height: 0; }
  .side { display: none; }
  .grid3 { padding: 10px; }
  .tile img { height: 150px; }
  .hero h1 { font-size: clamp(44px, 12.5vw, 64px); }
  .hero .ctas .btn { flex: 1; }
}

/* dock */
.dock { position: fixed; z-index: 55; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: flex-end; gap: 6px; padding: 8px 10px; border-radius: 24px; direction: ltr; }
.dock a, .dock button { position: relative; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; transform-origin: 50% 100%; transition: transform 160ms var(--ease-out); }
.dock .ico { width: 100%; height: 100%; border-radius: 14px; display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .1), 0 4px 10px rgba(0, 0, 0, .14); }
.dock .ico img { height: 86%; width: auto; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .3)); }
.dock .sep { width: 1px; height: 44px; background: rgba(0, 0, 0, .14); margin: 0 4px 5px; }
.dock .tip { position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(4px); white-space: nowrap; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 8px; background: rgba(250, 250, 252, .85); backdrop-filter: blur(20px); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12), 0 6px 18px rgba(0, 0, 0, .12); opacity: 0; pointer-events: none; transition: opacity 120ms ease, transform 160ms var(--ease-out); direction: rtl; }
@media (hover: hover) and (pointer: fine) { .dock a:hover .tip, .dock button:hover .tip { opacity: 1; transform: translateX(-50%); } }
.dock .run { position: absolute; bottom: -6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: rgba(0, 0, 0, .55); }
.dock .badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--loud); color: var(--on-loud); font-size: 11.5px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(255, 106, 26, .5); }
@media (max-width: 760px) { .dock { gap: 2px; padding: 6px 8px; border-radius: 22px; } .dock a, .dock button { width: 46px; height: 46px; } .dock .tip { display: none; } .dock .hide-m { display: none; } }

/* sections */
.sec { padding: clamp(80px, 11vw, 150px) 0; }
.sh { text-align: center; max-width: 780px; margin: 0 auto clamp(36px, 5vw, 60px); }
.sh .eb { font-size: 14px; font-weight: 600; color: var(--ink2); }
.sh h2 { font-size: clamp(36px, 5vw, 68px); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; margin-top: 10px; }
.sh p { color: var(--ink2); font-size: clamp(17px, 1.4vw, 20px); margin-top: 14px; }

/* dose finder app */
.finder { max-width: 980px; margin-inline: auto; }
.finder .win-body { display: grid; grid-template-columns: 1.1fr .9fr; }
.qs { padding: 26px 28px; display: grid; gap: 22px; border-inline-end: .5px solid var(--hair); }
.q h4 { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.seg { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 11px; background: rgba(118, 118, 128, .14); }
.seg button { position: relative; z-index: 1; height: 36px; border-radius: 8px; font-size: 14px; font-weight: 500; transition: color 200ms; }
.seg .pill { position: absolute; z-index: 0; top: 3px; bottom: 3px; border-radius: 8px; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04); transition: transform 380ms var(--spring), width 380ms var(--spring); }
.result { padding: 26px; display: grid; align-content: center; justify-items: center; text-align: center; gap: 6px; position: relative; overflow: hidden; }
.result::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 40%, rgba(var(--rg, 247, 162, 27), .35), transparent 70%); transition: background 500ms ease; }
.result > * { position: relative; }
.result img { height: 220px; width: auto; filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .3)); transition: opacity 260ms ease, transform 500ms var(--spring); }
.result img.swap { opacity: 0; transform: translateY(10px) scale(.94); }
.result small { font-size: 12px; font-weight: 600; color: var(--ink2); }
.result h3 { font-size: 26px; letter-spacing: -.02em; }
.result p { font-size: 14.5px; color: var(--ink2); max-width: 30ch; }
@media (max-width: 760px) { .finder .win-body { grid-template-columns: 1fr; } .qs { border: 0; padding: 18px; } .result img { height: 170px; } }

/* 3D ring */
.ring { position: relative; height: 520px; perspective: 1400px; touch-action: pan-y; cursor: grab; user-select: none; }
.ring:active { cursor: grabbing; }
.ring .it { position: absolute; left: 50%; top: 46%; width: 240px; height: 300px; margin: -150px 0 0 -120px; will-change: transform, opacity; }
.ring .it img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 26px rgba(0, 0, 0, .3)); pointer-events: none; }
.ring-floor { position: absolute; left: 50%; top: 72%; width: 70%; height: 90px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(28, 28, 30, .18), transparent); filter: blur(6px); }
.ring-info { text-align: center; margin-top: -10px; }
.ring-info b { font-size: 28px; letter-spacing: -.02em; display: block; }
.ring-info span { color: var(--ink2); }
.ring-ctrl { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
@media (max-width: 760px) { .ring { height: 400px; } .ring .it { width: 170px; height: 212px; margin: -106px 0 0 -85px; } }

/* settings window (subscription) */
.settings { max-width: 980px; margin-inline: auto; }
.settings .win-body { display: grid; grid-template-columns: 220px 1fr; min-height: 420px; }
.set-side { padding: 14px 10px; background: rgba(255, 255, 255, .25); border-inline-end: .5px solid var(--hair); display: grid; align-content: start; gap: 2px; font-size: 14px; }
.set-side span { height: 32px; display: flex; align-items: center; gap: 10px; padding: 0 10px; border-radius: 8px; }
.set-side span.on { background: rgba(10, 132, 255, .9); color: #fff; }
.set-side span i { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-style: normal; background: var(--graph); color: #fff; }
.set-main { padding: 24px 28px; }
.set-main h3 { font-size: 24px; letter-spacing: -.02em; margin-bottom: 16px; }
.group { border-radius: 12px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .08); margin-bottom: 16px; }
.rowx { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 16px; font-size: 15px; }
.rowx + .rowx { border-top: .5px solid var(--hair); }
.rowx small { display: block; color: var(--ink3); font-size: 12.5px; }
.switch { width: 46px; height: 28px; border-radius: 99px; background: rgba(120, 120, 128, .24); position: relative; transition: background-color 250ms ease; flex: none; }
.switch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform 320ms var(--spring); }
.switch[aria-checked="true"] { background: #34c759; }
.switch[aria-checked="true"]::after { transform: translateX(-18px); }
@media (max-width: 760px) { .settings .win-body { grid-template-columns: 1fr; } .set-side { display: none; } .set-main { padding: 18px; } }

/* notifications (reviews) */
.notifs { position: relative; max-width: 420px; margin-inline: auto; display: grid; gap: 10px; }
.nt { border-radius: 18px; padding: 12px 14px; display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; opacity: 0; transform: translateY(-14px) scale(.96); transition: opacity 500ms var(--ease-out), transform 600ms var(--spring); transition-delay: var(--d); }
.notifs.in .nt { opacity: 1; transform: none; }
.nt .app { width: 38px; height: 38px; border-radius: 9px; background: #191919; display: grid; place-items: center; }
.nt .app svg { width: 22px; height: 22px; fill: var(--tp); }
.nt header { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink2); }
.nt header b { color: var(--ink); }
.nt p { font-size: 14.5px; line-height: 1.4; margin-top: 2px; }
.nt .st { color: var(--tp); letter-spacing: 1px; font-size: 13px; }
.rev-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.rev-score { text-align: center; }
.rev-score b { font-size: clamp(80px, 10vw, 140px); letter-spacing: -.05em; line-height: 1; font-weight: 800; }
.tp-stars { display: inline-flex; gap: 3px; direction: ltr; }
.tp-stars i { width: var(--s, 22px); height: var(--s, 22px); background: var(--tp); display: grid; place-items: center; border-radius: 2px; }
.tp-stars i.half { background: linear-gradient(90deg, var(--tp) 50%, #dcdce6 50%); }
.tp-stars i.off { background: #dcdce6; }
.tp-stars svg { width: 72%; height: 72%; fill: #fff; }
.tp-logo { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; direction: ltr; }
.tp-logo svg { width: 18px; height: 18px; fill: var(--tp); }
@media (max-width: 760px) { .rev-grid { grid-template-columns: 1fr; } }

/* topical cards (App Store "Today") */
.today { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tcard { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 4.2; padding: 20px; display: flex; flex-direction: column; color: #fff; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .35); transition: transform 500ms var(--ease-out), box-shadow 400ms; }
.tcard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 60% at 50% 70%, var(--c), var(--c2) 60%, #121214 100%); }
.tcard > * { position: relative; }
.tcard small { font-size: 12px; font-weight: 700; letter-spacing: .04em; opacity: .85; }
.tcard h3 { font-size: 26px; letter-spacing: -.02em; line-height: 1.05; margin-top: 4px; }
.tcard img { margin: auto auto 0; height: 58%; width: auto; filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .45)); transition: transform 600ms var(--spring); }
.tcard .row { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 14px; }
.tcard .get { height: 32px; padding: 0 16px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: var(--ink); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; }
@media (hover: hover) and (pointer: fine) { .tcard:hover { transform: translateY(-6px) scale(1.01); } .tcard:hover img { transform: translateY(-8px) scale(1.04); } }
.tcard:active { transform: scale(.98); }
@media (max-width: 960px) { .today { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px var(--pad) 30px; margin-inline: calc(-1 * var(--pad)); } .today::-webkit-scrollbar { display: none; } .tcard { scroll-snap-align: center; } }

/* footer */
.foot { margin: 40px var(--pad) 110px; padding: 34px clamp(20px, 3vw, 40px); border-radius: 24px; font-size: 14px; color: var(--ink2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.foot h5 { color: var(--ink); font-size: 14px; margin-bottom: 10px; }
.foot ul { list-style: none; display: grid; gap: 6px; }
.legal { margin-top: 26px; padding-top: 18px; border-top: .5px solid var(--hair2); font-size: 12.5px; color: var(--ink3); display: grid; gap: 6px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1/-1; } }

/* cart sheet */
.drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .18); opacity: 0; transition: opacity 250ms ease; }
.drawer .panel { position: absolute; top: 46px; left: 14px; width: min(400px, calc(100% - 28px)); max-height: calc(100svh - 140px); border-radius: 18px; display: flex; flex-direction: column; overflow: hidden; transform-origin: 18px 0; transform: scale(.94) translateY(-8px); opacity: 0; transition: transform 200ms var(--ease-out), opacity 150ms ease; }
.drawer.open { pointer-events: auto; } .drawer.open .scrim { opacity: 1; }
.drawer.open .panel { transform: none; opacity: 1; transition-duration: 340ms, 200ms; transition-timing-function: var(--spring), ease; }
.panel header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 8px; }
.panel header h3 { font-size: 17px; }
.ship { padding: 0 16px 10px; font-size: 12.5px; color: var(--ink2); }
.ship-bar { height: 4px; border-radius: 4px; background: rgba(0, 0, 0, .07); margin-top: 6px; overflow: hidden; }
.ship-bar i { display: block; height: 100%; background: var(--loud); transform-origin: right; transition: transform 500ms var(--ease-out); }
.panel ul { list-style: none; overflow: auto; padding: 0 10px; flex: 1; }
.ci { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 10px 6px; border-top: .5px solid var(--hair); }
.ci img { width: 52px; height: 64px; object-fit: contain; }
.ci-t { display: grid; font-size: 12.5px; color: var(--ink2); }
.ci-t b { color: var(--ink); font-size: 14.5px; }
.ci-q { display: inline-flex; gap: 8px; align-items: center; margin-top: 4px; }
.ci-q button { width: 24px; height: 24px; border-radius: 7px; background: rgba(0, 0, 0, .06); }
.ci-q em { font-style: normal; color: var(--ink); }
.ci-empty { padding: 34px 10px; text-align: center; color: var(--ink3); }
.panel footer { padding: 12px 16px 16px; display: grid; gap: 10px; border-top: .5px solid var(--hair); }
.panel footer .sum { display: flex; justify-content: space-between; font-weight: 600; }
.panel footer .btn { width: 100%; }
.panel footer small { text-align: center; color: var(--ink3); font-size: 11.5px; }

@media (prefers-reduced-motion: reduce) {
  .rv { transform: none; filter: none; transition: opacity 400ms ease; }
  .intro { animation-name: introfade; } @keyframes introfade { from { opacity: 0; } }
  .nt { transform: none; transition: opacity 400ms ease; }
  .prodwin { transition: none; }
  .drawer .panel { transform: none; transition: opacity 180ms ease; }
}

/* ============ PDP (Apple Store buy flow) ============ */
.gp { padding: 70px var(--pad) 40px; max-width: 1360px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.gp-stage { position: sticky; top: 50px; }
.gp-win .win-body { position: relative; aspect-ratio: 1 / 1.02; background: radial-gradient(60% 55% at 50% 58%, rgba(var(--cg), .35), rgba(255, 255, 255, .15) 70%); }
.gp-win canvas, .gp-win .gp-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.gp-win .gp-img { object-fit: contain; padding: 9%; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .28)); transition: opacity 300ms ease; }
.gp-win canvas { cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity 500ms ease; }
.gp-win.has3d canvas { opacity: 1; } .gp-win.has3d .gp-img { opacity: 0; }
.gp-views { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.gp-views button { height: 36px; padding: 0 14px; border-radius: 99px; font-size: 13.5px; font-weight: 600; background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .12); transition: background-color 200ms, color 200ms, transform 160ms var(--ease-out); }
.gp-views button:active { transform: scale(.96); }
.gp-views button[aria-pressed="true"] { background: var(--graph); color: #fff; }
.gp-hint { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--ink2); background: rgba(255, 255, 255, .7); padding: 5px 12px; border-radius: 99px; backdrop-filter: blur(10px); }
.gp-buy h1 { font-size: clamp(40px, 4.4vw, 64px); letter-spacing: -.04em; line-height: 1; font-weight: 800; margin: 8px 0 6px; }
.gp-buy .new { color: var(--loud); font-weight: 700; font-size: 14px; }
.gp-buy .tag { font-size: 21px; color: var(--ink2); }
.gp-rate { display: flex; gap: 10px; align-items: center; margin: 14px 0 6px; font-size: 14px; color: var(--ink2); flex-wrap: wrap; }
.gp-rate a { color: #0a66d6; }
.step-h { font-size: 22px; letter-spacing: -.02em; font-weight: 700; margin: 30px 0 12px; }
.step-h span { color: var(--ink3); font-weight: 600; }
.cards { display: grid; gap: 10px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.ocard { border-radius: 16px; padding: 16px; background: rgba(255, 255, 255, .62); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); text-align: right; transition: box-shadow 200ms, background-color 200ms, transform 160ms var(--ease-out); display: grid; gap: 2px; }
.ocard:active { transform: scale(.98); }
.ocard[aria-checked="true"], .ocard[aria-current="true"] { box-shadow: inset 0 0 0 2px #0a84ff; background: rgba(255, 255, 255, .85); }
.ocard b { font-size: 16px; }
.ocard small { font-size: 13px; color: var(--ink2); }
.ocard .dotc { width: 12px; height: 12px; border-radius: 50%; margin-bottom: 6px; }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan-head .px { font-weight: 700; font-size: 17px; text-align: left; }
.plan-head .px s { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink3); }
.tagx { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--loud); color: var(--on-loud); margin-inline-start: 6px; }
.perks2 { list-style: none; display: grid; gap: 4px; margin-top: 10px; font-size: 13.5px; color: var(--ink); }
.perks2 li::before { content: "✓"; color: #248a3d; font-weight: 700; margin-inline-end: 6px; }
.gp-note { font-size: 13px; color: var(--ink2); margin-top: 10px; }
.summary { position: fixed; z-index: 54; inset: auto 0 0 0; padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom)); display: flex; justify-content: center; }
.summary .inner { width: min(1100px, 100%); display: flex; align-items: center; gap: 18px; padding: 10px 10px 10px 18px; border-radius: 20px; }
.summary .inner img { width: 44px; height: 54px; object-fit: contain; }
.summary .txt { flex: 1; font-size: 13px; color: var(--ink2); line-height: 1.35; }
.summary .txt b { display: block; font-size: 17px; color: var(--ink); }
.summary .btn { min-width: 200px; }
.gp-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.gp-specs div { border-radius: 14px; padding: 14px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .08); font-size: 13px; color: var(--ink2); }
.gp-specs b { display: block; font-size: 18px; color: var(--ink); letter-spacing: -.01em; }
.faqwin { max-width: 860px; margin-inline: auto; }
.faqwin details { border-top: .5px solid var(--hair); }
.faqwin summary { list-style: none; cursor: pointer; padding: 16px 22px; font-weight: 600; display: flex; justify-content: space-between; }
.faqwin summary::-webkit-details-marker { display: none; }
.faqwin summary::after { content: "›"; transform: rotate(90deg); transition: transform 250ms var(--ease-out); color: var(--ink3); }
.faqwin details[open] summary::after { transform: rotate(-90deg); }
.faqwin p { padding: 0 22px 18px; color: var(--ink2); }
@media (max-width: 960px) {
  .gp { grid-template-columns: 1fr; padding-top: 50px; }
  .gp-stage { position: relative; top: 0; }
  .cards.three { grid-template-columns: 1fr 1fr 1fr; }
  .ocard { padding: 12px; }
  .summary { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .summary .inner { gap: 10px; }
  .summary .btn { min-width: 0; padding: 0 16px; }
  .summary .inner img { display: none; }
}
