/* ============================================================
   KELPARO — product pages (one per system)
   ============================================================ */
.pp-hero { position: relative; padding: 150px 0 40px; overflow: hidden; }
.pp-glow { position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none;
  background: radial-gradient(40% 50% at 75% 35%, rgba(47,91,255,.12), transparent 70%), radial-gradient(35% 45% at 20% 20%, rgba(255,190,140,.16), transparent 70%); }
.pp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: center; position: relative; }
.pp-crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--ink-3); margin-bottom: 22px; flex-wrap: wrap; }
.pp-crumbs a:hover { color: var(--ink); }
.pp-crumbs b { color: var(--ink); font-weight: 500; }
.pp-badge { display: inline-block; font: 500 11.5px var(--font-mono); letter-spacing: .06em; color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 4px 8px; }
.pp-hero .h1 { margin: 16px 0 20px; max-width: 14ch; }
.pp-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.pp-art { position: relative; height: 420px; display: grid; place-items: center; perspective: 900px; }
.pp-art__halo { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, #eef2ff, rgba(238,242,255,0)); }
.pp-art__halo::after { content: ''; position: absolute; left: 50%; bottom: 40px; width: 220px; height: 34px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(17,17,16,.16), transparent); filter: blur(4px); animation: ppShadow 6s ease-in-out infinite; }
.pp-art__icon { position: relative; width: 300px; height: 300px; filter: drop-shadow(0 30px 40px rgba(17,17,16,.2)); animation: ppFloat 6s ease-in-out infinite; transition: transform .2s; will-change: transform; }
.pp-art__k { position: absolute; right: 8%; top: 8%; width: 88px; height: 88px; animation: ppFloat 6s ease-in-out -2.5s infinite; filter: drop-shadow(0 16px 20px rgba(17,17,16,.2)); }
@keyframes ppFloat { 0%,100% { translate: 0 0; rotate: -3deg; } 50% { translate: 0 -16px; rotate: 3deg; } }
@keyframes ppShadow { 0%,100% { transform: translateX(-50%) scale(1); opacity: 1; } 50% { transform: translateX(-50%) scale(.82); opacity: .6; } }

.pp-live { padding-top: 30px; }
.pp-live__card { border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 50px 100px -50px rgba(17,17,16,.35); overflow: hidden; }
.pp-live__bar { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--paper-2); font-size: 12.5px; color: var(--ink-3); }
.pp-live__bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3e0d9; }
.pp-live__bar span { margin-left: 10px; }
.pp-live__bar b { margin-left: auto; font: 500 10px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 5px; padding: 3px 7px; background: #fff; }
.pp-live__stage { padding: clamp(28px, 5vw, 64px); min-height: 360px; display: flex; flex-direction: column; justify-content: center; zoom: 1.35; }
.pp-live__stage > .gate { margin-top: 18px; }
@media (max-width: 900px) { .pp-live__stage { zoom: 1; } }

.pp-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pp-feat { padding: 26px 24px 30px 0; border-bottom: 1px solid var(--line); }
.pp-feat:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.pp-feat b { display: block; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; }
.pp-feat p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .pp-feats { grid-template-columns: 1fr; } .pp-feat:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; } }

.pp-steps { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; counter-reset: s; }
.pp-steps__line { position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--line); }
.pp-steps__line::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.pp-steps li { list-style: none; position: relative; }
.pp-steps span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); font: 500 13px var(--font-mono); color: var(--ink); margin-bottom: 16px; position: relative; z-index: 1; box-shadow: 0 6px 16px -8px rgba(17,17,16,.25); }
.pp-steps b { display: block; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }

.pp-hand__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pp-box { position: relative; border-radius: 22px; padding: 30px; background: var(--paper-2); border: 1px solid var(--line); }
.pp-box img { position: absolute; right: 22px; top: -22px; width: 72px; height: 72px; filter: drop-shadow(0 12px 16px rgba(17,17,16,.2)); }
.pp-box h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.025em; margin-bottom: 16px; }
.pp-box li { list-style: none; padding: 11px 0 11px 26px; border-top: 1px solid var(--line); position: relative; color: var(--ink-2); }
.pp-box li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); }
.pp-box--dark { background: #111110; border-color: #111110; color: #fff; }
.pp-box--dark h3 { color: #fff; }
.pp-box--dark li { color: #c9c6be; border-color: rgba(255,255,255,.1); }
.pp-box--dark li::before { content: '⛨'; color: #9fb2ff; }
@media (max-width: 760px) { .pp-hand__grid { grid-template-columns: 1fr; } .pp-hero__grid { grid-template-columns: 1fr; } .pp-art { height: 300px; order: -1; } .pp-art__icon { width: 210px; height: 210px; } }

.pp-rels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pp-rel { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease-out), box-shadow .35s; }
.pp-rel:hover { transform: translateY(-3px); box-shadow: var(--shadow-deep); }
.pp-rel img { width: 64px; height: 64px; flex: none; transition: transform .4s var(--ease-out); }
.pp-rel:hover img { transform: rotate(-8deg) scale(1.08); }
.pp-rel small { display: block; font: 500 11px var(--font-mono); letter-spacing: .06em; color: var(--accent); text-transform: uppercase; }
.pp-rel b { display: block; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; margin: 3px 0; }
.pp-rel em { font-style: normal; font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 900px) { .pp-rels { grid-template-columns: 1fr; } }
.pp-live__stage { min-height: 0; max-width: 820px; margin: 0 auto; }
.pp-live__stage .mini-chat { margin-top: 0; }

/* rich showcases taken from the home chapters */
.pp-show { max-width: 1120px; margin: 0 auto; }
.pp-show .win__body { height: clamp(460px, 44vw, 560px); }
.pp-show--aur .aur__body { height: clamp(500px, 46vw, 600px); }
.pp-show--talk .talk__device { position: static; transform: none; width: 100%; }
.pp-show--talk .talk__body > [data-on] { display: block; animation: none; }
.pp-show--talk .talk__body > .pcard[data-on] { display: grid; }
.pp-show--talk .talk__body > .verdict[data-on], .pp-show--talk .talk__body > .voice-sheet[data-on] { display: flex; }
.pp-show--talk .talk__body > .bookcard[data-on] { display: grid; gap: 7px; }
.pp-show--talk .talk__fill { width: 100%; }
.pp-show--belt .belt__track { padding: 60px 4px 20px; overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; }
.pp-show--belt .station { opacity: 1; transform: none; scroll-snap-align: start; }

/* feature icons and the "runs on" row */
.pp-feat__ic { display: block; width: 44px; height: 44px; padding: 11px; margin-bottom: 16px; border-radius: 13px; color: #5738e0;
  background: linear-gradient(180deg, #fff, #f3f0ff); box-shadow: 0 0 0 1px rgba(87,56,224,.12), 0 10px 22px -12px rgba(87,56,224,.55);
  transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.pp-feat:hover .pp-feat__ic { transform: translateY(-3px) rotate(-4deg); }
.pp-stack { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 26px; }
.pp-stack small { font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-right: 6px; }
.pp-stack span { padding: 6px 13px 6px 6px; border-radius: 100px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink);
  box-shadow: 0 8px 20px -14px rgba(17,17,30,.4); transition: transform .3s, box-shadow .3s; }
.pp-stack span:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(17,17,30,.45); }
.pp-stack .lg { font-size: 15px; }
.pp-wf { padding-top: 0; }
.pp-wf .wf { margin-top: 0; }

/* real screens: captured from the product itself, cycled like a walkthrough */
.realwin { border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 60px 120px -60px rgba(17,17,30,.45); overflow: hidden; }
.realwin__bar { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; background: var(--paper-2); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.realwin__bar i { width: 10px; height: 10px; border-radius: 50%; background: #e3e0d9; }
.realwin__url { margin-left: 10px; }
.realwin__bar b { margin-left: auto; font: 500 10px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: #15803d; border: 1px solid #bfe5cc; background: #effaf3; border-radius: 5px; padding: 3px 7px; }
.realwin__tabs { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.realwin__tabs button { flex: none; font: 500 13px var(--font-body); padding: 7px 13px; border-radius: 9px; border: 1px solid transparent; background: none; color: var(--ink-2); cursor: pointer; position: relative; overflow: hidden; }
.realwin__tabs button.on { background: #fff4ec; color: #c2410c; border-color: #fed7bd; }
.realwin__tabs button.on::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: #ea580c; transform-origin: left; animation: rwTick var(--rw, 5s) linear both; }
@keyframes rwTick { from { transform: scaleX(0); } }
.realwin__stage { position: relative; aspect-ratio: 1440 / 900; background: #f6f6f7; overflow: hidden; }
.realwin__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.02); transition: opacity .35s ease, transform 6s ease-out; }
.realwin__stage img.on { opacity: 1; transform: scale(1); }

/* the live concierge panel (shown only once the real one answers) */
.aria-live__grid { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: clamp(30px, 5vw, 80px); align-items: center; }
.aria-live__grid .h2 { margin: 14px 0 16px; }
.aria-live__pts { margin-top: 22px; display: grid; gap: 10px; }
.aria-live__pts li { list-style: none; padding-left: 26px; position: relative; color: var(--ink-2); }
.aria-live__pts li::before { content: ""; position: absolute; left: 0; top: .45em; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.15); }
.aria-live__frame { position: relative; height: 620px; border-radius: 24px; overflow: visible; background: #fff; border: 1px solid var(--line); box-shadow: 0 60px 120px -60px rgba(17,17,30,.45); }
.aria-live__frame iframe { width: 100%; height: 100%; border: 0; display: block; border-radius: 24px; }
.aria-live__tag { position: absolute; top: -34px; right: 4px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 100px; background: #effaf3; color: #15803d; font: 600 11px var(--font-body); pointer-events: none; }
.aria-live__tag i { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; animation: alPulse 1.6s ease-in-out infinite; }
@keyframes alPulse { 50% { opacity: .3; } }
@media (max-width: 900px) { .aria-live__grid { grid-template-columns: 1fr; } .aria-live__frame { height: 560px; } }

/* tighter rhythm between product-page sections: no dead screens */
.pp-live, .pp-wf, .pp-what, .pp-how, .pp-hand, .pp-related, .aria-live { padding-top: clamp(48px, 5.5vw, 84px); padding-bottom: clamp(48px, 5.5vw, 84px); }
.pp-live { padding-top: 24px; }

/* under the hood: the product's real stack as a data flow, plus every technology we run */
.hood { position: relative; padding: clamp(56px, 6vw, 92px) 0 0; background: linear-gradient(180deg, #fff 0%, #f6f3ff 30%, #f6f3ff 70%, #fff 100%); overflow: hidden; }
.hood::before { content: ""; position: absolute; left: 50%; top: 18%; width: 900px; height: 420px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(138,107,255,.16), transparent); pointer-events: none; }
.hood__head { position: relative; max-width: 760px; margin-bottom: 38px; }
.hood__head .h2 { margin-top: 14px; }
.hood__flow { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 30px 0 0; }
.hood__flow::before { content: ""; position: absolute; left: 4%; right: 4%; top: 9px; height: 2px; background: repeating-linear-gradient(90deg, #d8cffc 0 6px, transparent 6px 12px); }
.hood__flow::after { content: ""; position: absolute; top: 4px; left: calc(100% / var(--n) * (var(--k, 0) + .5)); width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: #6d4dff; box-shadow: 0 0 0 6px rgba(109,77,255,.18), 0 0 24px 4px rgba(109,77,255,.5); transition: left .9s cubic-bezier(.65,0,.35,1); }
.hood__n { position: relative; padding: 0 18px 22px; border-radius: 22px; background: rgba(255,255,255,.7); border: 1px solid #ebe6fa; backdrop-filter: blur(6px);
  transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .6s, border-color .4s, background .4s; }
.hood__n.on { transform: translateY(-8px); background: #fff; border-color: #c9bdff; box-shadow: 0 30px 60px -30px rgba(87,56,224,.55); }
.hood__ic { display: grid; place-items: center; width: 64px; height: 64px; margin: 14px 0 16px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #ebe6fa, 0 14px 30px -16px rgba(60,40,140,.45); position: relative; z-index: 1; }
.hood__ic span { font-size: 0; display: grid !important; place-items: center; }
.hood__ic .lg { font-size: 30px; margin: 0; box-shadow: none; }
.hood__n.on .hood__ic { animation: hoodPop .6s cubic-bezier(.2,.8,.2,1); }
@keyframes hoodPop { 40% { transform: scale(1.12) rotate(-4deg); } }
.hood__n small { display: block; font: 600 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #7c62f5; }
.hood__n b { display: block; margin: 8px 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.hood__n p { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.hood__marq { position: relative; display: block; margin-top: clamp(40px, 5vw, 64px); padding: 22px 0 clamp(40px, 5vw, 64px); color: inherit; text-decoration: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.hood__lbl { display: block; text-align: center; margin-bottom: 16px; font: 500 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.hood__track { display: flex; gap: 10px; width: max-content; animation: hoodMarq 90s linear infinite; }
.hood__marq:hover .hood__track { animation-play-state: paused; }
.hood__track span { flex: none; padding: 6px 13px 6px 6px; border-radius: 100px; background: #fff; border: 1px solid #ebe6fa; font-size: 13.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.hood__track .lg { font-size: 15px; }
@keyframes hoodMarq { to { transform: translateX(-50%); } }
@media (max-width: 1000px) { .hood__flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hood__flow::before, .hood__flow::after { display: none; } }
@media (max-width: 560px) { .hood__flow { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .hood__track { animation: none; } }
:is(.pp-what, .pp-how, .pp-related, .pp-hand) .section-head { margin-bottom: clamp(28px, 3.5vw, 48px); }
.pp-wf .wf { margin-bottom: 0; }
.hood { padding-top: clamp(40px, 4.5vw, 64px); }
.hood__marq { padding-bottom: clamp(28px, 3.5vw, 44px); }
.pp-related + .v3-close { padding-top: clamp(64px, 7vw, 110px); padding-bottom: clamp(64px, 7vw, 110px); }
.hood__n::before { content: ""; position: absolute; left: 50%; top: -24px; width: 2px; height: 22px; margin-left: -1px; background: #e2dafd; transition: background .4s; }
.hood__n.on::before { background: #6d4dff; }
@media (max-width: 1000px) { .hood__flow { padding-top: 0; } .hood__n::before { display: none; } }
.hood__n .lg--m b { display: inline; margin: 0; color: #fff; font-size: .62em; font-weight: 700; letter-spacing: -.03em; }
.realwin__live { margin-left: auto; flex: none; align-self: center; font: 600 13px var(--font-body); color: #15803d; padding: 7px 12px; border-radius: 9px; background: #effaf3; border: 1px solid #bfe5cc; text-decoration: none; }
.realwin__live:hover { background: #e2f6ea; }
.realwin__note { margin-top: 14px; text-align: center; font-size: 13.5px; color: var(--ink-3); }
.real-home__head { max-width: 760px; margin-bottom: 32px; }
.real-home__head .h2 { margin: 14px 0 14px; }
.pp-hero .h1 .pp-name { display: block; margin-bottom: .35em; font-size: .36em; font-weight: 500; letter-spacing: -.01em; color: #6d5ae6; }
.realwin__stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .35s ease; background: #f6f6f7; }
.realwin__stage video.on { opacity: 1; }
.realwin__tabs { scrollbar-width: none; -ms-overflow-style: none; }
.realwin__tabs::-webkit-scrollbar { display: none; }
.nf__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.nf .h1 { margin: 16px 0 18px; }
.nf__all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .nf__grid { grid-template-columns: 1fr; } .nf .pp-art { display: none; } .nf__all { grid-template-columns: 1fr; } }
