/* klik.tn · AI showcase layer (2026-10-27): hero HUD, scroll-driven AI engine (4 scenes), AI tools marquee, packs call-out.
   Shared by index.html and packs.html. Motion pauses when off-screen; reduced-motion users get the end states. */

.mono { font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace; }

/* ---------- hero HUD ---------- */
.hud { position: absolute; inset: 0; z-index: 3; pointer-events: none; font: 11px/1.2 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.hud__c { position: absolute; width: 26px; height: 26px; border: 1.5px solid var(--green); opacity: .85; }
.hud__c--tl { top: 74px; left: var(--gutter); border-right: 0; border-bottom: 0; }
.hud__c--tr { top: 74px; right: var(--gutter); border-left: 0; border-bottom: 0; }
.hud__c--bl { bottom: 22px; left: var(--gutter); border-right: 0; border-top: 0; }
.hud__c--br { bottom: 22px; right: var(--gutter); border-left: 0; border-top: 0; }
.hud__l { position: absolute; display: flex; align-items: center; gap: 8px; }
.hud__l i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: hudp 1.6s infinite; }
.hud__l--1 { top: 82px; left: calc(var(--gutter) + 36px); }
.hud__l--2 { top: 82px; right: calc(var(--gutter) + 36px); }
.hud__l--3 { top: 50%; right: var(--gutter); writing-mode: vertical-rl; transform: translateY(-50%); color: rgba(57,255,20,.8); }
.hud__scan { position: absolute; left: 0; right: 0; height: 120px; top: -120px; background: linear-gradient(180deg, transparent, rgba(57,255,20,.07) 70%, rgba(57,255,20,.35) 99%, transparent); animation: hudscan 6.5s cubic-bezier(.5,0,.5,1) infinite; mix-blend-mode: screen; }
@keyframes hudp { 50% { opacity: .25; } }
@keyframes hudscan { 0% { top: -120px; } 60%, 100% { top: 100%; } }
@media (max-width: 700px) { .hud__l--2, .hud__l--3 { display: none; } .hud__c--tl, .hud__c--tr { top: 64px; } .hud__l--1 { top: 72px; } }

/* ---------- ENGINE: pinned, 4 scenes ---------- */
.eng { position: relative; height: 460vh; background: #000; color: #fff; }
.eng__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(20px, 3vw, 56px); align-items: center; padding: 96px var(--gutter) 46px; isolation: isolate; }
.eng__net, .pk__net, .pkh__net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.eng__pin::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(57,255,20,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(57,255,20,.07) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(80% 70% at 65% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(80% 70% at 65% 50%, #000 20%, transparent 75%); }
.eng__hud { position: absolute; top: 70px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; font: 11px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.eng__hud b { color: var(--green); font-weight: 400; }
.eng__k { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.eng__k i, .pk__k i, .tl__k i, .pkh__k i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(57,255,20,.18), 0 0 18px var(--green); animation: hudp 1.6s infinite; }
.eng__stack { display: grid; margin-top: 18px; }
.eng__stack > * { grid-area: 1 / 1; }
.eng__t { font-family: var(--serif); font-weight: 400; font-size: clamp(54px, 7.2vw, 132px); line-height: .88; letter-spacing: -.035em; opacity: 0; transform: translateY(50px); filter: blur(10px); transition: opacity .7s var(--ease), transform 1s var(--ease), filter .8s var(--ease); }
.eng__t em { font-style: italic; color: var(--green); text-shadow: 0 0 40px rgba(57,255,20,.45); }
.eng__p { max-width: 30em; font-size: clamp(16px, 1.35vw, 21px); line-height: 1.35; color: #cfcfcf; opacity: 0; transform: translateY(24px); transition: opacity .7s .1s var(--ease), transform 1s .1s var(--ease); }
.eng__p b { color: #fff; font-weight: 500; }
.eng__t.on, .eng__p.on { opacity: 1; transform: none; filter: none; }
.eng__ps { margin-top: 26px; }
.eng__nav { list-style: none; margin-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.eng__nav li { font: 11px/1.3 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; color: #666; transition: color .4s; }
.eng__nav li.on, .eng__nav li.done { color: #fff; }
.eng__nav li span { display: block; height: 2px; margin-bottom: 10px; background: #222; position: relative; overflow: hidden; }
.eng__nav li span::after { content: ""; position: absolute; inset: 0; background: var(--green); box-shadow: 0 0 12px var(--green); transform-origin: left; transform: scaleX(var(--p, 0)); }

.eng__stage { position: relative; width: 100%; aspect-ratio: 4 / 3; max-height: calc(100svh - 170px); justify-self: center; }
.sc { position: absolute; inset: 0; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, rgba(14,22,12,.82), rgba(4,6,4,.9)); border: 1px solid rgba(57,255,20,.22); box-shadow: 0 0 0 1px rgba(255,255,255,.03) inset, 0 40px 120px -40px rgba(57,255,20,.35), 0 30px 80px rgba(0,0,0,.6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transform: perspective(1400px) rotateY(-8deg) translateY(30px) scale(.94); transition: opacity .7s var(--ease), transform 1.1s var(--ease); pointer-events: none; }
.sc.on { opacity: 1; transform: perspective(1400px) rotateY(-3deg) scale(1); }
.sc__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.07); font: 11px/1 ui-monospace, Menlo, Consolas, monospace; color: #8a8a8a; letter-spacing: .06em; flex: none; }
.sc__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a2a2a; }
.sc__bar span { margin-left: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.05); }
.sc__bar b { margin-left: auto; color: var(--green); font-weight: 400; letter-spacing: .14em; animation: hudp 1.2s infinite; }
.sc__body { position: relative; flex: 1; min-height: 0; padding: 16px; }
.sc__note { position: absolute; right: 14px; bottom: 10px; font: 10px/1 ui-monospace, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; color: #555; }

/* scene 1: analyse */
.s1 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; height: 100%; }
.s1__img { position: relative; border-radius: 12px; overflow: hidden; background: #111; }
.s1__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) contrast(1.1) brightness(.8); }
.s1__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(57,255,20,.06) 50%, transparent 50%); background-size: 100% 4px; }
.s1__scan { position: absolute; left: 0; right: 0; height: 3px; top: 0; background: var(--green); box-shadow: 0 0 24px 6px rgba(57,255,20,.55); z-index: 2; }
.sc1.on .s1__scan { animation: scan 2.6s cubic-bezier(.6,0,.4,1) infinite alternate; }
@keyframes scan { to { top: calc(100% - 3px); } }
.s1__box { position: absolute; z-index: 3; border: 1.5px solid var(--green); padding: 5px 8px; font: 10.5px/1.25 ui-monospace, Menlo, monospace; color: #fff; background: rgba(0,0,0,.55); opacity: 0; transform: scale(1.3); transition: opacity .4s, transform .6s var(--ease); white-space: nowrap; }
.s1__box em { display: block; font-style: normal; color: var(--green); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; }
.s1__box.b1 { top: 12%; left: 8%; }
.s1__box.b2 { top: 44%; right: 7%; }
.s1__box.b3 { bottom: 10%; left: 12%; }
.sc1.on .s1__box { opacity: 1; transform: none; }
.sc1.on .b1 { transition-delay: .5s; } .sc1.on .b2 { transition-delay: 1.1s; } .sc1.on .b3 { transition-delay: 1.7s; }
.s1__side { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.s1__radar { position: relative; flex: 1; min-height: 0; border-radius: 12px; background: radial-gradient(circle, rgba(57,255,20,.1), transparent 70%); display: grid; place-items: center; }
.s1__radar svg { width: auto; height: 100%; max-width: 100%; }
.s1__sweep { transform-origin: 100px 100px; animation: spin 3.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.s1__blip { fill: var(--green); opacity: 0; animation: blip 3.2s infinite; }
@keyframes blip { 0%, 20% { opacity: 0; } 25% { opacity: 1; } 70%, 100% { opacity: 0; } }
.s1__log, .s3__code { list-style: none; font: 12px/1.65 ui-monospace, Menlo, Consolas, monospace; color: #bdbdbd; }
.s1__log li::before { content: "› "; color: var(--green); }
.s1__log li.ok { color: var(--green); }

/* scene 2: create */
.s2__prompt { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(57,255,20,.25); font: 13px/1.3 ui-monospace, Menlo, Consolas, monospace; color: #e9ffe0; }
.s2__prompt svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.s2__prompt span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s2__prompt b { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--green); color: #041600; font: 600 12px/1 var(--sans); letter-spacing: .02em; }
.caret { display: inline-block; width: 7px; height: 15px; background: var(--green); vertical-align: -2px; animation: hudp .9s steps(2) infinite; }
.s2__grid { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 10px; height: calc(100% - 58px); }
.s2__t { position: relative; border-radius: 10px; overflow: hidden; background: #0b0f0a; }
.s2__t img { width: 100%; height: 100%; object-fit: cover; filter: blur(16px) saturate(0) contrast(1.6) brightness(.6); transform: scale(1.2); transition: filter 1.2s var(--ease), transform 1.6s var(--ease); }
.s2__t::after { content: ""; position: absolute; left: 0; right: 0; top: -30%; height: 30%; background: linear-gradient(180deg, transparent, rgba(57,255,20,.55)); opacity: 0; }
.s2__t figcaption { position: absolute; left: 8px; bottom: 8px; padding: 4px 8px; border-radius: 999px; background: rgba(0,0,0,.6); font: 10px/1 ui-monospace, Menlo, monospace; letter-spacing: .08em; color: var(--green); opacity: 0; transform: translateY(6px); transition: .5s var(--ease); }
.sc2.on .s2__t img { filter: none; transform: scale(1); transition-delay: calc(1.6s + var(--d) * .32s); }
.sc2.on .s2__t::after { animation: gen 1.1s calc(1.3s + var(--d) * .32s) ease-in-out both; }
.sc2.on .s2__t figcaption { opacity: 1; transform: none; transition-delay: calc(2.4s + var(--d) * .32s); }
@keyframes gen { 0% { top: -30%; opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* scene 3: code */
.s3 { display: grid; grid-template-columns: 1fr 1.05fr; gap: 14px; height: 100%; }
.s3__code { margin: 0; padding: 12px; border-radius: 12px; background: rgba(0,0,0,.5); overflow: hidden; white-space: pre; font-size: 11.5px; line-height: 1.7; }
.s3__code .ln { color: #3d3d3d; display: inline-block; width: 2.2em; }
.s3__code .k { color: var(--green); } .s3__code .s { color: #e9ffe0; } .s3__code .c { color: #555; font-style: italic; } .s3__code .t { color: #7dfc5e; }
.s3__web { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 12px; background: #f6f6f2; color: #111; overflow: hidden; }
.w { opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.w.on { opacity: 1; transform: none; }
.w--nav { display: flex; justify-content: space-between; align-items: center; font: 700 10px/1 var(--sans); letter-spacing: .14em; }
.w--nav span { display: flex; gap: 6px; } .w--nav span i { width: 22px; height: 5px; border-radius: 3px; background: #c9c9c2; }
.w--hero { position: relative; flex: 1.4; min-height: 0; border-radius: 9px; overflow: hidden; background: #111; color: #fff; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.w--hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.w--hero b { position: relative; font: 400 clamp(16px, 1.7vw, 26px)/1 var(--serif); }
.w--hero em { position: relative; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--green); color: #041600; font: 600 10px/1 var(--sans); font-style: normal; }
.w--cards { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.w--cards i { border-radius: 7px; background: linear-gradient(160deg, #dcdcd4, #ecece6); }
.w--pay { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 8px; background: #111; color: #fff; font: 600 10px/1 var(--sans); }
.w--pay b { color: var(--green); }
.s3__badges { position: absolute; right: 10px; top: 34px; display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }
.s3__badges span { padding: 5px 9px; border-radius: 999px; background: #000; color: var(--green); font: 10px/1 ui-monospace, Menlo, monospace; letter-spacing: .06em; box-shadow: 0 6px 18px rgba(0,0,0,.25); }

/* scene 4: launch */
.s4 { display: grid; grid-template-rows: auto 1fr; gap: 12px; height: 100%; }
.s4__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.s4__kpis div { padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.s4__kpis b { display: block; font: 400 clamp(22px, 2.3vw, 36px)/1 var(--serif); color: #fff; font-variant-numeric: tabular-nums; }
.s4__kpis b small { font-size: .55em; color: var(--green); margin-left: 4px; }
.s4__kpis span { font: 10px/1.2 ui-monospace, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; color: #777; }
.s4__chart { position: relative; min-height: 0; }
.s4__chart svg { width: 100%; height: 100%; display: block; }
.s4__line { fill: none; stroke: var(--green); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(57,255,20,.8)); stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.s4__area { opacity: 0; transition: opacity 1s 1.4s; }
.s4__dot { opacity: 0; }
.sc4.on .s4__line { animation: draw 2.2s .3s cubic-bezier(.6,0,.2,1) forwards; }
.sc4.on .s4__area { opacity: 1; }
.sc4.on .s4__dot { animation: dot 1.6s 2.4s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dot { 0% { opacity: 1; r: 5; } 100% { opacity: 0; r: 22; } }
.s4__toasts { position: absolute; left: 12px; top: 8px; display: flex; flex-direction: column; gap: 7px; }
.s4__toasts span { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.95); color: #111; font: 600 11px/1 var(--sans); box-shadow: 0 10px 30px rgba(0,0,0,.4); opacity: 0; transform: translateX(-20px) scale(.9); transition: .6s var(--ease); }
.s4__toasts span i { width: 8px; height: 8px; border-radius: 50%; background: #25d366; }
.sc4.on .s4__toasts span { opacity: 1; transform: none; }
.sc4.on .s4__toasts span:nth-child(1) { transition-delay: 1.2s; } .sc4.on .s4__toasts span:nth-child(2) { transition-delay: 1.9s; } .sc4.on .s4__toasts span:nth-child(3) { transition-delay: 2.6s; }

@media (max-width: 900px) {
  .eng { height: 440vh; }
  .eng__pin { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-items: start; gap: 16px; padding: 92px 16px 22px; }
  .eng__hud { top: 62px; left: 16px; right: 16px; }
  .eng__hud span:last-child { display: none; }
  .eng__t { font-size: clamp(44px, 12vw, 64px); }
  .eng__p { font-size: 15px; }
  .eng__ps { margin-top: 12px; }
  .eng__nav { margin-top: 16px; }
  .eng__nav li { font-size: 9.5px; letter-spacing: .06em; }
  .eng__stage { aspect-ratio: auto; height: 100%; max-height: none; min-height: 0; }
  .sc { transform: translateY(30px) scale(.96); }
  .sc.on { transform: none; }
  .sc__body { padding: 10px; }
  .s1, .s3 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .s1__log { font-size: 10px; }
  .s1__box { font-size: 9px; padding: 4px 6px; }
  .s3__code { font-size: 8.5px; padding: 8px; }
  .s2__prompt { font-size: 11px; } .s2__prompt b { display: none; }
  .s2__grid { gap: 6px; height: calc(100% - 50px); }
  .s4__kpis { gap: 6px; } .s4__kpis div { padding: 8px; }
}

/* ---------- AI tools marquee ---------- */
.tl { padding: 120px 0 40px; overflow: hidden; }
.tl__k { display: flex; align-items: center; gap: 10px; padding: 0 var(--gutter); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.tl__row { display: flex; margin-top: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tl__row + .tl__row { margin-top: -1px; }
.tl__track { display: flex; flex: none; align-items: center; gap: .5em; padding-right: .5em; font-family: var(--serif); font-size: clamp(54px, 8vw, 140px); line-height: 1.12; letter-spacing: -.03em; white-space: nowrap; animation: mq 38s linear infinite; }
.tl__row--rev .tl__track { animation-direction: reverse; animation-duration: 44s; }
.tl__track span:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1.5px #000; }
.tl__track svg { width: .42em; height: .42em; color: var(--green); flex: none; filter: drop-shadow(0 0 10px rgba(57,255,20,.7)); }
.tl:hover .tl__track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-100%); } }
.tl__p { max-width: 40em; margin: 34px var(--gutter) 0 auto; padding: 0 var(--gutter); font-size: clamp(19px, 1.7vw, 26px); line-height: 1.3; }
.tl__p b { font-weight: 500; background: linear-gradient(transparent 62%, rgba(57,255,20,.55) 62%); }

/* ---------- packs call-out (home) ---------- */
.pk { position: relative; margin-top: 110px; padding: 110px var(--gutter) 90px; background: #000; color: #fff; overflow: hidden; isolation: isolate; }
.pk__k, .pkh__k { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.pk__h { margin-top: 18px; font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 8.5vw, 150px); line-height: .88; letter-spacing: -.035em; }
.pk__h em { color: var(--green); text-shadow: 0 0 50px rgba(57,255,20,.4); }
.pk__rows { margin-top: 54px; border-top: 1px solid rgba(255,255,255,.18); }
.pk__r { position: relative; display: grid; grid-template-columns: 1.1fr 1fr auto 40px; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.18); transition: padding .5s var(--ease), color .4s; }
.pk__r::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(57,255,20,.16), transparent 70%); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.pk__r:hover { padding-left: 18px; }
.pk__r:hover::before { transform: none; }
.pk__n { font-family: var(--serif); font-size: clamp(40px, 5vw, 84px); line-height: 1; letter-spacing: -.03em; }
.pk__d { font-size: 15px; color: #9a9a9a; letter-spacing: .02em; }
.pk__d b { display: inline-block; margin-left: 10px; padding: 4px 9px; border-radius: 999px; background: var(--green); color: #041600; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; }
.pk__p { font-family: var(--serif); font-size: clamp(28px, 3vw, 48px); line-height: 1; white-space: nowrap; }
.pk__p small { font-family: var(--sans); font-size: 13px; color: #8a8a8a; margin-left: 6px; }
.pk__r svg { width: 26px; height: 22px; transition: transform .5s var(--ease); }
.pk__r:hover svg { transform: translateX(8px); color: var(--green); }
.pk__r--hi .pk__n { color: var(--green); }
.pk__r--gold .pk__n, .pk__r--gold .pk__p { color: #e8c170; }
.pk__go { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 44px; }
.pk__go p { max-width: 30em; color: #9a9a9a; font-size: 15px; }
.pk__btn { position: relative; display: inline-flex; align-items: center; gap: 16px; padding: 22px 34px; border-radius: 999px; background: var(--green); color: #041600; font-size: 19px; font-weight: 600; letter-spacing: -.01em; overflow: hidden; isolation: isolate; box-shadow: 0 0 0 1px rgba(57,255,20,.7), 0 20px 70px -10px rgba(57,255,20,.65); transition: transform .4s var(--ease), box-shadow .4s; }
.pk__btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.65) 50%, transparent 65%); transform: translateX(-130%); animation: pksw 3.4s 1s infinite; }
.pk__btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 0 1px #39ff14, 0 30px 90px -10px rgba(57,255,20,.85); }
.pk__btn svg { width: 22px; height: 18px; }
@keyframes pksw { 0% { transform: translateX(-130%); } 45%, 100% { transform: translateX(130%); } }
@media (max-width: 900px) {
  .pk { padding: 80px 16px 70px; margin-top: 80px; }
  .pk__r { grid-template-columns: 1fr auto 24px; gap: 4px 12px; padding: 18px 0; }
  .pk__d { grid-column: 1; grid-row: 2; font-size: 13px; }
  .pk__p { grid-column: 2; grid-row: 1 / span 2; font-size: 26px; text-align: right; }
  .pk__p small { display: block; margin: 4px 0 0; font-size: 11px; }
  .pk__r svg { grid-column: 3; grid-row: 1 / span 2; width: 18px; }
  .pk__btn { width: 100%; justify-content: center; padding: 20px; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .hud__scan, .tl__track, .pk__btn::after { animation: none; }
  .eng__t, .eng__p, .sc, .s2__t img, .w, .s1__box, .s4__toasts span { transition: none !important; }
}
