/* The Products page (redesigned 2026-11-03): a quiet orbit hero, one wide chapter per product, and "what next". */
.pp em { font-style: normal; color: var(--helper); }
.pp-hero__t em { background: linear-gradient(100deg, #8FE6FF 0, #38BCF8 55%, #8DB6FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pp-kick { color: #38C8F8; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------------------------------------------------------------- hero */
.pp-hero { position: relative; isolation: isolate; padding-block: 72px 96px; text-align: center; overflow: clip; }
.pp-hero::before { content: ''; position: absolute; left: 50%; top: 40%; z-index: -2; width: min(1100px, 130vw); aspect-ratio: 2 / 1; transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(2, 131, 197, .26), transparent 70%); }
.pp-hero__orbits { position: absolute; left: 50%; top: 46%; z-index: -1; width: min(1200px, 140vw); transform: translate(-50%, -50%) rotate(-8deg); overflow: visible; pointer-events: none;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000 30%, transparent 75%); mask-image: radial-gradient(60% 60% at 50% 50%, #000 30%, transparent 75%); }
.pp-hero__orbits ellipse { fill: none; stroke: rgba(120, 190, 255, .16); stroke-width: 1; }
.pp-hero__orbits ellipse:first-child { stroke-dasharray: 2 8; }
.pp-hero__moon { fill: #E8FAFF; filter: drop-shadow(0 0 6px rgba(56, 200, 248, .9)); }
.pp-hero__moon--a { offset-path: path('M 180 300 A 420 112 0 1 0 1020 300 A 420 112 0 1 0 180 300'); animation: pp-orbit 60s linear infinite; }
.pp-hero__moon--b { offset-path: path('M 40 300 A 560 150 0 1 0 1160 300 A 560 150 0 1 0 40 300'); animation: pp-orbit 90s linear infinite reverse; }
@keyframes pp-orbit { to { offset-distance: 100%; } }
.reduce-motion .pp-hero__moon { animation: none; offset-distance: 30%; }
.pp-hero__copy { display: grid; justify-items: center; gap: 18px; }
.pp-hero__t { color: var(--ink); font-size: clamp(44px, 6.4vw, 96px); line-height: 1; font-weight: 600; letter-spacing: -.05em; max-width: 13ch; text-wrap: balance; }
.pp-hero__t em { display: block; }
.pp-hero__sub { color: var(--body); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; max-width: 34ch; text-wrap: balance; }

/* ---------------------------------------------------------------- the chapters */
.pp-list { display: grid; gap: 24px; }
.ppc { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: 40px clamp(32px, 5vw, 72px);
  padding: clamp(20px, 2.6vw, 32px); border-radius: var(--r-l); border: 1px solid var(--sep); overflow: hidden;
  background: radial-gradient(70% 90% at 0 50%, var(--acc-badge), transparent 65%), var(--layer-1); transition: border-color .4s var(--ease); }
.ppc::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--acc), transparent); opacity: .7; }
.ppc:hover { border-color: var(--acc-line); }
.ppc--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); background: radial-gradient(70% 90% at 100% 50%, var(--acc-badge), transparent 65%), var(--layer-1); }
.ppc--rev .ppc__art { order: 2; }

/* the picture in a lit frame, leaning toward the pointer (js/products.js sets --rx, --ry) */
.ppc__art { position: relative; display: block; perspective: 1200px; }
.ppc__frame { display: block; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--acc-line); background: #050910;
  box-shadow: 0 50px 100px -50px var(--acc-glow), 0 0 0 6px color-mix(in srgb, var(--acc) 6%, transparent);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.ppc__frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s cubic-bezier(.16, 1, .3, 1); }
.ppc:hover .ppc__frame img { transform: scale(1.03); }
.ppc__float { position: absolute; padding: 8px 14px; border-radius: 999px; background: rgba(10, 13, 20, .82); border: 1px solid var(--sep); color: var(--label); font-size: 13px; white-space: nowrap;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .7); animation: ppc-bob 6s ease-in-out infinite; }
.ppc__float--a { left: -10px; bottom: 16%; }
.ppc__float--b { right: -10px; top: 12%; animation-delay: -3s; }
@keyframes ppc-bob { 50% { transform: translateY(-6px); } }
.reduce-motion .ppc__float { animation: none; }

.ppc__body { display: grid; gap: 18px; align-content: center; padding-block: 8px; }
.ppc__by { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; color: var(--helper); font-size: 14px; }
.ppc__by .appicon { --ai: 44px; }
.ppc__chip { padding: 4px 10px; border-radius: 999px; background: var(--acc-badge); border: 1px solid var(--acc-line); color: var(--acc-ink); font-size: 12px; font-weight: 500; }
.ppc__chip--ok { background: rgba(16, 69, 29, .32); border-color: rgba(64, 216, 110, .2); color: #40D86E; }
.ppc__name { color: var(--ink); font-size: clamp(40px, 4.6vw, 64px); line-height: 1; font-weight: 600; letter-spacing: -.045em; }
.ppc__name a { transition: color .2s var(--ease); }
.ppc__name a:hover { color: var(--acc-ink); }
.ppc__line { color: var(--body); font-size: 17px; line-height: 1.6; max-width: 44ch; }
.ppc .checks { gap: 10px; }
.ppc .checks li { color: var(--label); font-size: 15px; }
.ppc .checks .ico { color: var(--acc-ink); }
.ppc__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 24px; margin-top: 6px; padding-top: 22px; border-top: 1px solid var(--sep); }
.ppc__price { display: flex; align-items: center; gap: 12px; }
.ppc__price b { color: var(--ink); font-size: 44px; line-height: 1; font-weight: 600; letter-spacing: -.04em; }
.ppc__price span { color: var(--helper); font-size: 13px; line-height: 1.4; }
.ppc__notes { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; color: var(--helper); font-size: 14px; transition: color .2s var(--ease); }
.ppc__notes:hover { color: var(--acc-ink); }

/* ---------------------------------------------------------------- what next */
.pp-next-wrap { padding-top: 24px; margin-bottom: calc(var(--sec) * -.4); }
.pp-next { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px 40px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-l);
  border: 1px dashed rgba(120, 190, 255, .25); background: radial-gradient(60% 120% at 0 50%, rgba(2, 131, 197, .14), transparent 70%); }
.pp-next__art { position: relative; display: grid; place-items: center; width: 120px; height: 120px; }
.pp-next__art i { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(120, 190, 255, .35); animation: pp-spin 40s linear infinite; }
.pp-next__art i:nth-child(2) { inset: 18%; animation-direction: reverse; animation-duration: 28s; border-style: solid; border-color: rgba(120, 190, 255, .2); }
.pp-next__art i:nth-child(3) { inset: 36%; border: 0; background: radial-gradient(circle at 35% 30%, #3A414D, #15181E 55%, #050608); box-shadow: 0 0 30px rgba(56, 200, 248, .25); animation: none; }
.pp-next__art b { position: absolute; top: 4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #38C8F8; box-shadow: 0 0 12px rgba(56, 200, 248, .9); transform-origin: 4px 56px; animation: pp-spin 12s linear infinite; }
@keyframes pp-spin { to { transform: rotate(360deg); } }
.reduce-motion .pp-next__art i, .reduce-motion .pp-next__art b { animation: none; }
.pp-next__t { margin-top: 10px; color: var(--ink); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; font-weight: 500; letter-spacing: -.03em; }
.pp-next__sub { margin-top: 10px; color: var(--body); font-size: 16px; line-height: 1.55; max-width: 48ch; }

@media (max-width: 959px) {
  .ppc, .ppc--rev { grid-template-columns: minmax(0, 1fr); }
  .ppc--rev .ppc__art { order: 0; }
  .ppc__float--a { left: 10px; } .ppc__float--b { right: 10px; }
  .pp-next { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .pp-next__art { width: 84px; height: 84px; }
  .pp-next__art b { transform-origin: 4px 38px; }
}
@media (max-width: 559px) {
  .pp-hero { padding-block: 40px 64px; }
  .ppc { border-radius: var(--r-l); }
  .ppc__float { font-size: 12px; padding: 6px 10px; }
  .ppc__foot .actions { width: 100%; flex-direction: column; }
  .ppc__foot .btn, .pp-next__btn { width: 100%; }
}
