/* SILACOD · the packs on the public site: the « Packs » page (/packs/) and the packs section of the home page (#packs).
   Built on the home page's own pieces (top bar, buttons, kicker, .lead, .faq, .final .cta, the site's particles in v2-fx.js).
   The four card looks follow « Mon pack » (PackCards.tsx): free = plain panel, pro = night card with a coral light running
   round it, leg = pearl card whose navy/coral border turns only under the pointer, crown and « SILACOD » over the name,
   biz = blue border, on request. Never gold. Colours read the --pk-* tokens below, so both themes are one set of rules.
   Motion is transform and opacity only, paused off screen (.pk-run), none in light mode (html.lite) or with reduced motion. */

.pk-scope {
  --pk-panel: #ffffff; --pk-raise: #f3f4fa; --pk-ink: #0f172a; --pk-muted: #5b6478; --pk-line: rgba(15,23,42,.09); --pk-line2: rgba(15,23,42,.16);
  --pk-soft: rgba(35,40,99,.055); --pk-bar: rgba(255,255,255,.9); --pk-ok: #15803d; --pk-okbg: rgba(22,163,74,.12); --pk-blue: #2563eb;
  --pk-shadow: 0 40px 80px -48px rgba(17,19,68,.5); --pk-dot: rgba(35,40,99,.32);
}
html:not([data-theme="light"]) .pk-scope {
  --pk-panel: #10133c; --pk-raise: rgba(255,255,255,.06); --pk-ink: #f3f4ff; --pk-muted: #aeb1d6; --pk-line: rgba(255,255,255,.1); --pk-line2: rgba(255,255,255,.2);
  --pk-soft: rgba(255,255,255,.055); --pk-bar: rgba(14,17,58,.88); --pk-ok: #4ade80; --pk-okbg: rgba(74,222,128,.13); --pk-blue: #6b9bff;
  --pk-shadow: 0 50px 100px -44px rgba(0,0,0,.92); --pk-dot: rgba(255,255,255,.4);
}
/* the site's own pieces (.lead, .kicker, headings) read these */
.pk-hero, .pk-sec, #packs.pk-scope { --ink: var(--pk-ink); --muted: var(--pk-muted); --line: var(--pk-line); }
html:has(> body.pk-page) { scrollbar-gutter: stable; }
.pk-scope svg[data-i] { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- page hero ---------- */
.pk-hero { position: relative; isolation: isolate; overflow: clip; padding: clamp(126px, 12vw, 180px) 0 clamp(34px, 4vw, 60px); color: var(--pk-ink); text-align: center; }
.pk-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(48% 70% at 50% -12%, rgba(240,99,67,.22), transparent 64%), radial-gradient(40% 60% at 6% 10%, rgba(74,125,255,.13), transparent 60%), radial-gradient(36% 56% at 96% 20%, rgba(240,99,67,.1), transparent 62%); }
.pk-hero .kicker { justify-content: center; }
.pk-hero h1 { margin: 18px auto 0; max-width: 17ch; font-size: clamp(38px, 5.4vw, 82px); font-weight: 900; }
.pk-hero .lead { margin: 18px auto 0; max-width: 62ch; }
.pk-hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pk-hero-cta .btn svg { width: 18px; height: 18px; }
html[dir="rtl"] .pk-hero-cta .btn svg.arrow { transform: scaleX(-1); }
.pk-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px clamp(26px, 4vw, 64px); margin: clamp(30px, 4vw, 50px) 0 0; padding: 0; list-style: none; }
.pk-stats li { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 110px; }
.pk-stats b { font: 900 clamp(32px, 3.2vw, 48px)/1 var(--f-lat); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pk-stats li:nth-child(2) b { color: var(--coral); }
.pk-stats span { color: var(--pk-muted); font-weight: 700; font-size: 14px; }
.pk-stats li { opacity: 0; translate: 0 14px; transition: opacity .8s var(--ease), translate .9s var(--ease); }
.pk-stats.pk-in li { opacity: 1; translate: 0 0; }
.pk-stats.pk-in li:nth-child(2) { transition-delay: .1s; } .pk-stats.pk-in li:nth-child(3) { transition-delay: .2s; }
/* the hero's words come in one after the other when the page opens */
.pk-up { animation: pkUp 1s var(--ease) both; animation-delay: calc(var(--k, 0) * 90ms + 120ms); }
@keyframes pkUp { from { opacity: 0; translate: 0 26px; } }

/* ---------- sections of the page ---------- */
.pk-sec { position: relative; color: var(--pk-ink); }
.pk-page .pk-sec { padding: clamp(34px, 5vw, 70px) 0 clamp(70px, 8vw, 130px); }
.pk-page #plans { padding-top: 0; }
.pk-head-c { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pk-head-c h2 { max-width: 20ch; }
.pk-head-c .lead { margin-inline: auto; text-align: center; }
.pk-rv { opacity: 0; translate: 0 34px; transition: opacity 1s var(--ease), translate 1s var(--ease); }
.pk-rv.in { opacity: 1; translate: 0 0; }
.pk-rv.d1 { transition-delay: .08s; } .pk-rv.d2 { transition-delay: .16s; }
.pk-bar { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0 0 clamp(26px, 3vw, 40px); }
.pk-note { margin: 22px 0 0; text-align: center; color: var(--pk-muted); font-size: 13.5px; font-weight: 600; }

/* ---------- the period switch: a pill slides to the chosen period ---------- */
.pk-period { position: relative; display: inline-flex; max-width: 100%; padding: 5px; border-radius: 999px; background: var(--pk-raise); border: 1px solid var(--pk-line2); overflow-x: auto; scrollbar-width: none; }
.pk-period::-webkit-scrollbar { display: none; }
.pk-period[hidden] { display: none; }
.pk-period button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; flex: none; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--pk-muted); font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; transition: color .3s; }
.pk-period button:hover { color: var(--pk-ink); }
.pk-period button[aria-checked="true"] { color: #fff; }
.pk-period button b { padding: 3px 8px; border-radius: 999px; background: var(--pk-okbg); color: var(--pk-ok); font-size: 12px; font-weight: 800; transition: background .3s, color .3s; }
.pk-period button[aria-checked="true"] b { background: rgba(255,255,255,.2); color: #fff; }
.pk-thumb { position: absolute; top: 0; left: 0; height: 0; width: 0; border-radius: 999px; background: var(--navy); box-shadow: 0 12px 26px -12px rgba(35,40,99,.8); transition: transform .55s cubic-bezier(.3,1.32,.5,1), width .45s var(--ease), height .45s var(--ease); }
html:not([data-theme="light"]) .pk-thumb { background: var(--coral); box-shadow: 0 12px 26px -12px rgba(240,99,67,.85); }

/* ---------- the cards ---------- */
.pk-cards { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 22px); align-items: stretch; padding-top: 24px; }
.pk-cards:empty { min-height: 420px; }
@media (max-width: 1180px) { .pk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; } }
.pk-card {
  --lift: 0px; --dl: calc(var(--i, 0) * 110ms);
  position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; padding: 28px 24px 24px;
  border-radius: 28px; background: var(--pk-panel); color: var(--pk-ink); border: 1px solid var(--pk-line); box-shadow: var(--pk-shadow);
  transform: perspective(1100px) translateY(var(--lift)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  opacity: 0; translate: 0 44px;
  transition: opacity .9s var(--ease) var(--dl), translate 1s var(--ease) var(--dl), transform .7s var(--ease), box-shadow .45s, border-color .45s;
}
.pk-cards.pk-in .pk-card { opacity: 1; translate: 0 0; }
.pk-card.pk-hot { --lift: -8px; transition: opacity .9s var(--ease) var(--dl), translate 1s var(--ease) var(--dl), transform .18s ease-out, box-shadow .45s, border-color .45s; box-shadow: 0 60px 110px -50px rgba(17,19,68,.62); }
html:not([data-theme="light"]) .pk-card.pk-hot { box-shadow: 0 60px 120px -40px rgba(0,0,0,.95); }
.pk-card:focus { outline: none; }
.pk-head, .pk-price, .pk-lines, .pk-btn, .pk-foot { position: relative; z-index: 2; }

/* the light under the pointer */
.pk-glow { position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(240,99,67,.15), transparent 62%); }
.pk-hot .pk-glow { opacity: 1; }
/* flat dots rising in the card's head (« Mon pack »'s dots: no glow) */
.pk-dots { position: absolute; inset: 0 0 auto; height: 210px; z-index: 0; border-radius: 28px 28px 0 0; overflow: hidden; pointer-events: none;
  -webkit-mask: linear-gradient(to top, transparent, #000 40%); mask: linear-gradient(to top, transparent, #000 40%); }
.pk-dots i { position: absolute; bottom: -6px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; background: var(--pk-dot); opacity: 0;
  animation: pkRise var(--d) linear var(--w) infinite; animation-play-state: paused; }
.pk-run .pk-dots i { animation-play-state: running; }
@keyframes pkRise { 0% { transform: translateY(0); opacity: 0; } 18% { opacity: var(--o); } 80% { opacity: var(--o); } 100% { transform: translateY(-220px); opacity: 0; } }
/* the running light of the recommended pack, the turning border of the top pack: colours turn by transform inside a still mask */
.pk-ring { position: absolute; inset: -1px; z-index: 1; border-radius: inherit; padding: 1.5px; pointer-events: none; overflow: hidden;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
.pk-ring i { position: absolute; inset: -62%; animation: pkTurn 7s linear infinite; animation-play-state: paused; }
@keyframes pkTurn { to { transform: rotate(1turn); } }

/* head */
.pk-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--pk-soft); color: var(--navy); transition: transform .5s cubic-bezier(.3,1.5,.5,1); }
html:not([data-theme="light"]) .pk-free .pk-mark, html:not([data-theme="light"]) .pk-biz .pk-mark { color: #fff; }
.pk-mark svg { width: 24px; height: 24px; }
.pk-hot .pk-mark { transform: translateY(-3px) rotate(-8deg) scale(1.06); }
.pk-tag { position: absolute; top: 24px; inset-inline-end: 20px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--pk-soft); color: var(--pk-ink); font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.pk-star { width: 13px; height: 13px; fill: currentColor !important; stroke: none !important; }
.pk-head h3 { margin: 18px 0 0; font-size: clamp(22px, 1.9vw, 27px); font-weight: 900; line-height: 1.15; }
.pk-desc { margin: 8px 0 0; color: var(--pk-muted); font-size: 14.5px; line-height: 1.6; min-height: 3.2em; }
.pk-tier { display: block; margin-top: 16px; font: 800 11px/1 var(--f-lat); letter-spacing: .42em; }
.pk-tier + h3 { margin-top: 8px; }

/* price */
.pk-price { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--pk-line); }
.pk-was { display: flex; align-items: center; gap: 8px; height: 24px; opacity: 0; translate: 0 6px; transition: opacity .35s, translate .45s var(--ease); font-size: 14px; font-weight: 700; color: var(--pk-muted); }
.pk-was.on { opacity: 1; translate: 0 0; }
.pk-was s { text-decoration-thickness: 1.5px; }
.pk-off { display: inline-block; padding: 2px 8px; border-radius: 999px; background: rgba(240,99,67,.14); color: #d9482a; font-size: 12px; font-weight: 800; }
html:not([data-theme="light"]) .pk-off { color: #ff9b85; }
.pk-now { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; min-height: 58px; }
.pk-num { font: 900 clamp(40px, 3.5vw, 56px)/1 var(--f-lat); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.pk-unit { color: var(--pk-muted); font-weight: 700; font-size: 15px; }
.pk-word { font-size: clamp(28px, 2.4vw, 36px); font-weight: 900; line-height: 1.15; }
.pk-ex { margin: 8px 0 0; min-height: 2.9em; color: var(--pk-muted); font-size: 13.5px; font-weight: 600; line-height: 1.45; }

/* what the pack holds: each line comes in after its card, its check draws itself */
.pk-lines { flex: 1; display: grid; align-content: start; gap: 11px; margin: 18px 0 24px; padding: 0; list-style: none; }
.pk-lines li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 600; line-height: 1.45; opacity: 0; translate: 0 8px;
  transition: opacity .5s var(--ease) calc(var(--dl) + 280ms + var(--j) * 45ms), translate .6s var(--ease) calc(var(--dl) + 280ms + var(--j) * 45ms); }
.pk-cards.pk-in .pk-lines li { opacity: 1; translate: 0 0; }
.pk-ck { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--coral); stroke-width: 2.8 !important; }
.pk-ck path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .5s var(--ease) calc(var(--dl) + 420ms + var(--j) * 45ms); }
.pk-cards.pk-in .pk-ck path { stroke-dashoffset: 0; }

/* buttons */
.pk-btn { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 0; font: inherit; font-size: 16px; font-weight: 800; text-align: center; cursor: pointer; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; }
.pk-btn:hover { transform: translateY(-2px); }
.pk-btn:active { transform: translateY(0) scale(.98); }
.pk-arw { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.pk-btn:hover .pk-arw { transform: translateX(4px); }
html[dir="rtl"] .pk-arw { transform: scaleX(-1); }
html[dir="rtl"] .pk-btn:hover .pk-arw { transform: translateX(-4px) scaleX(-1); }
.pk-btn-coral { background: var(--coral); color: #fff; box-shadow: 0 16px 34px -14px rgba(240,99,67,.85); }
.pk-btn-coral:hover { box-shadow: 0 22px 40px -14px rgba(240,99,67,.95); }
.pk-btn-soft { background: var(--pk-soft); color: var(--pk-ink); box-shadow: inset 0 0 0 1px var(--pk-line2); }
.pk-btn-soft:hover { background: var(--pk-raise); box-shadow: inset 0 0 0 1px var(--coral); }
.pk-btn-blue { background: #2563eb; color: #fff; box-shadow: 0 16px 34px -16px rgba(37,99,235,.8); }
.pk-btn-metal { background: linear-gradient(135deg, #232863, #3b418f 48%, #232863); color: #fff; box-shadow: 0 18px 36px -16px rgba(35,40,99,.85); }
.pk-btn-metal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.32) 48%, transparent 64%); transform: translateX(-110%); transition: transform .9s var(--ease); pointer-events: none; }
.pk-btn-metal:hover::after { transform: translateX(110%); }

/* « fits you » (the finder's pick) and the flash when the finder brings a card into view */
.pk-fit { position: absolute; top: -14px; left: 50%; z-index: 4; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--pk-ok); color: #fff; font-size: 12.5px; font-weight: 800; white-space: nowrap;
  opacity: 0; transform: translate(-50%, 6px) scale(.85); transition: opacity .35s, transform .5s cubic-bezier(.3,1.5,.5,1); pointer-events: none; }
html:not([data-theme="light"]) .pk-fit { color: #052e16; }
.pk-fit svg { width: 14px; height: 14px; stroke-width: 3 !important; }
.pk-match { border-color: var(--pk-ok); }
.pk-match .pk-fit { opacity: 1; transform: translate(-50%, 0) scale(1); }
.pk-flash { animation: pkFlash 1.3s var(--ease); }
@keyframes pkFlash { 0%, 100% { scale: 1; } 30% { scale: 1.025; } }

/* --- free: the plain panel --- */
.pk-free .pk-ck { color: var(--pk-ok); }

/* --- pro: the night card, raised; a coral light runs round it while it is on screen --- */
.pk-card.pk-pro { background: linear-gradient(165deg, #1d2263 0%, #111344 52%, #0a0c2e 100%); color: #fff; border-color: rgba(240,99,67,.28); --pk-muted: #b0b2d4; --pk-line: rgba(255,255,255,.12); --pk-line2: rgba(255,255,255,.22); --pk-soft: rgba(255,255,255,.08); --pk-raise: rgba(255,255,255,.12); --pk-dot: rgba(255,170,140,.55); }
.pk-card.pk-pro::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(80% 50% at 50% -10%, rgba(240,99,67,.32), transparent 70%); }
.pk-pro .pk-mark { background: var(--coral); color: #fff; }
.pk-pro .pk-tag { background: var(--coral); color: #fff; }
.pk-pro .pk-ring i { background: conic-gradient(from 0deg, transparent 0 58%, rgba(240,99,67,.0) 60%, #f06343 78%, #ffc1ad 84%, transparent 90%); }
.pk-run .pk-pro .pk-ring i { animation-play-state: running; }
.pk-pro .pk-off { background: rgba(255,255,255,.14); color: #ffb39f; }
@media (min-width: 1181px) { .pk-cards .pk-pro { --lift: -14px; } .pk-cards .pk-pro.pk-hot { --lift: -20px; } }

/* --- leg: the pearl card, « SILACOD » over the name, crown; its border turns only under the pointer --- */
.pk-card.pk-leg { background: linear-gradient(160deg, #ffffff 0%, #f7f6fc 55%, #eef0fa 100%); color: #0f172a; border-color: transparent; --pk-muted: #5b6478; --pk-line: rgba(35,40,99,.12); --pk-line2: rgba(35,40,99,.2); --pk-soft: rgba(35,40,99,.07); --pk-dot: rgba(240,99,67,.45); }
.pk-leg .pk-ring { padding: 2px; }
.pk-leg .pk-ring i { background: conic-gradient(from 0deg, #232863, #f06343 25%, #ff9a7e 32%, #232863 50%, #f06343 75%, #232863); animation-duration: 5s; }
.pk-leg.pk-hot .pk-ring i { animation-play-state: running; }
.pk-leg .pk-mark { background: var(--coral); color: #fff; }
.pk-leg .pk-tag { background: #232863; color: #fff; }
.pk-leg .pk-tag .pk-star { color: var(--coral); }
.pk-leg .pk-tier { color: #232863; opacity: .75; }
.pk-leg h3 { color: #232863; }
.pk-leg .pk-ck { width: 20px; height: 20px; margin-top: 1px; padding: 4px; border-radius: 50%; background: #232863; color: #fff; stroke-width: 3.4 !important; }
.pk-leg .pk-glow { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(35,40,99,.1), transparent 62%); }
.pk-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 12px; border-top: 1px dashed rgba(35,40,99,.2); color: rgba(35,40,99,.42); font: 800 11px/1 var(--f-lat); letter-spacing: .3em; }

/* --- biz: on request, the blue border --- */
.pk-card.pk-biz { border: 1.5px solid color-mix(in srgb, var(--pk-blue) 55%, transparent); }
.pk-biz .pk-mark { background: color-mix(in srgb, var(--pk-blue) 14%, transparent); color: var(--pk-blue) !important; }
.pk-biz .pk-tag { background: color-mix(in srgb, var(--pk-blue) 14%, transparent); color: var(--pk-blue); }
.pk-biz .pk-ck { color: var(--pk-blue); }
.pk-biz .pk-glow { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(37,99,235,.14), transparent 62%); }
.pk-card.pk-biz { --pk-dot: color-mix(in srgb, var(--pk-blue) 55%, transparent); }

/* phones: a row that snaps, one card at a time, a dot per pack */
.pk-pager { display: none; }
@media (max-width: 720px) {
  .pk-cards { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 28px var(--gutter) 30px; scroll-padding-inline: var(--gutter); }
  .pk-cards::-webkit-scrollbar { display: none; }
  .pk-card { flex: 0 0 min(86%, 360px); scroll-snap-align: center; padding: 26px 20px 22px; }
  .pk-pager { display: flex; justify-content: center; gap: 2px; margin-top: 2px; }
  .pk-pager button { position: relative; width: 30px; height: 30px; border: 0; background: none; cursor: pointer; }
  .pk-pager button::before { content: ""; position: absolute; top: 11px; left: 11px; width: 8px; height: 8px; border-radius: 99px; background: var(--pk-line2); transition: transform .35s var(--ease), background .3s; }
  .pk-pager button.on::before { background: var(--coral); transform: scale(1.5); }
  .pk-period { padding: 4px; }
  .pk-period button { gap: 5px; height: 40px; padding: 0 10px; font-size: 13.5px; }
  .pk-period button b { padding: 2px 6px; font-size: 11px; }
  .pk-thumb { top: 0; }
}
@media (max-width: 440px) {
  .pk-period { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 24px; }
  .pk-period button { justify-content: center; }
}

/* loading failed */
.pk-fail { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 60px 20px; border-radius: 28px; background: var(--pk-panel); border: 1px dashed var(--pk-line2); text-align: center; color: var(--pk-muted); font-weight: 700; }
.pk-fail p { margin: 0; }

/* ---------- the finder ---------- */
.pk-fd { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(16px, 2vw, 28px); padding: clamp(16px, 2.2vw, 30px); border-radius: 32px; background: var(--pk-panel); border: 1px solid var(--pk-line); box-shadow: var(--pk-shadow);
  opacity: 0; translate: 0 30px; transition: opacity .9s var(--ease), translate 1s var(--ease); }
.pk-fd.pk-in { opacity: 1; translate: 0 0; }
@media (max-width: 900px) { .pk-fd { grid-template-columns: 1fr; } }
.pk-fd-in { display: grid; gap: 12px; align-content: start; }
.pk-sl { display: block; padding: 16px 18px 12px; border-radius: 20px; background: var(--pk-raise); border: 1px solid var(--pk-line); transition: border-color .3s; }
.pk-sl:focus-within { border-color: rgba(240,99,67,.55); }
.pk-sl-top { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; }
.pk-sl-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pk-soft); color: var(--coral); flex: none; }
.pk-sl-ic svg { width: 18px; height: 18px; }
.pk-sl output { margin-inline-start: auto; font: 900 22px/1 var(--f-lat); color: var(--pk-ink); font-variant-numeric: tabular-nums; }
.pk-sl input[type="range"] { --p: 0%; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 8px; margin: 16px 0 6px; border-radius: 99px; outline: none; cursor: pointer;
  background: linear-gradient(to right, var(--coral) 0 var(--p), var(--pk-line2) var(--p) 100%); }
html[dir="rtl"] .pk-sl input[type="range"] { background: linear-gradient(to left, var(--coral) 0 var(--p), var(--pk-line2) var(--p) 100%); }
.pk-sl input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--coral); box-shadow: 0 8px 18px -6px rgba(240,99,67,.85); transition: transform .25s cubic-bezier(.3,1.5,.5,1); }
.pk-sl input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--coral); box-shadow: 0 8px 18px -6px rgba(240,99,67,.85); }
.pk-sl input[type="range"]:hover::-webkit-slider-thumb, .pk-sl input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.16); }
.pk-sl input[type="range"]:focus-visible { outline: 3px solid var(--coral); outline-offset: 6px; }

.pk-fd-out { display: flex; flex-direction: column; gap: 12px; padding: clamp(18px, 2vw, 26px); border-radius: 24px; background: var(--pk-raise); border: 1px solid var(--pk-line); }
.pk-fd-k { color: var(--pk-muted); font-size: 13px; font-weight: 800; }
.pk-fd-pack { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; background: var(--pk-panel); border: 1px solid var(--pk-line); }
.pk-fd-pack h3 { margin: 0; font-size: 22px; font-weight: 900; }
.pk-fd-pack p { margin: 4px 0 0; color: var(--pk-muted); font-weight: 700; font-size: 14px; }
.pk-fd-pack p b { font: 900 22px/1 var(--f-lat); color: var(--pk-ink); }
.pk-fd-pack.pk-pro { background: linear-gradient(165deg, #1d2263, #0a0c2e); border-color: rgba(240,99,67,.3); }
.pk-fd-pack.pk-pro h3, .pk-fd-pack.pk-pro p b { color: #fff; }
.pk-fd-pack.pk-pro p { color: #b0b2d4; }
.pk-fd-pack.pk-leg { background: linear-gradient(160deg, #fff, #eef0fa); border-color: rgba(35,40,99,.2); }
.pk-fd-pack.pk-leg h3, .pk-fd-pack.pk-leg p b { color: #232863; }
.pk-fd-pack.pk-leg p { color: #5b6478; }
.pk-fd-pack.swap { animation: pkSwap .6s cubic-bezier(.3,1.3,.5,1); }
@keyframes pkSwap { from { opacity: 0; transform: translateY(12px) scale(.96); } }
.pk-meters { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pk-meters li { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; }
.pk-m-l { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.pk-m-l svg { width: 16px; height: 16px; color: var(--pk-muted); }
.pk-m-v { font-size: 13.5px; font-weight: 800; color: var(--pk-muted); }
.pk-m-bar { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--pk-line); overflow: hidden; }
.pk-m-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--coral), #ff9a7e); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
html[dir="rtl"] .pk-m-bar i { transform-origin: right; background: linear-gradient(270deg, var(--coral), #ff9a7e); }
.pk-m-bar.inf i { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--pk-ok) 70%, transparent) 0 7px, color-mix(in srgb, var(--pk-ok) 38%, transparent) 7px 14px); }
.pk-fd-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 6px; }
.pk-fd-go .pk-btn { flex: 1 1 220px; }
.pk-link { border: 0; background: none; padding: 6px 2px; color: var(--pk-ink); font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.pk-link:hover { color: var(--coral); }
.pk-fd-none { margin: 0; font-weight: 700; color: var(--pk-muted); }

/* ---------- the comparison ---------- */
.pk-cmp { --cols: minmax(200px, 1.35fr) repeat(var(--n, 4), minmax(130px, 1fr)); position: relative; border-radius: 28px; background: var(--pk-panel); border: 1px solid var(--pk-line); box-shadow: var(--pk-shadow); }
.pk-cmp-row { display: grid; grid-template-columns: var(--cols); align-items: stretch; border-top: 1px solid var(--pk-line); transition: background .25s; }
.pk-cmp .pk-cmp-row { opacity: 0; translate: 0 14px; }
.pk-cmp.pk-in .pk-cmp-row { opacity: 1; translate: 0 0; transition: opacity .6s var(--ease) calc(var(--r, 0) * 45ms), translate .7s var(--ease) calc(var(--r, 0) * 45ms), background .25s; }
.pk-cmp-row:not(.pk-cmp-top):hover { background: var(--pk-soft); }
.pk-cmp-top { position: sticky; top: 92px; z-index: 3; border-top: 0; border-radius: 28px 28px 0 0; background: var(--pk-bar); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--pk-line); }
.pk-cmp-feat { display: flex; align-items: center; gap: 10px; padding: 15px 20px; color: var(--pk-muted); font-weight: 700; font-size: 15px; line-height: 1.35; }
.pk-cmp-feat svg { width: 18px; height: 18px; flex: none; color: var(--coral); }
.pk-cmp-col { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px 10px 16px; border: 0; background: none; color: var(--pk-ink); font: inherit; font-weight: 900; font-size: 16px; line-height: 1.2; text-align: center; cursor: pointer; transition: background .25s; }
.pk-cmp-col .pk-mark { width: 40px; height: 40px; }
.pk-cmp-col .pk-mark svg { width: 19px; height: 19px; }
.pk-cmp-col:hover .pk-mark { transform: translateY(-3px) rotate(-8deg); }
.pk-cmp-col.pk-pro .pk-mark, .pk-cmp-col.pk-leg .pk-mark { background: var(--coral); color: #fff; }
.pk-cmp-col.pk-biz .pk-mark { background: color-mix(in srgb, var(--pk-blue) 14%, transparent); color: var(--pk-blue); }
.pk-cmp-cell { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 6px; padding: 15px 10px; text-align: center; font-weight: 800; font-size: 15px; transition: background .25s; }
.pk-cmp-cell small { color: var(--pk-muted); font-weight: 700; font-size: 12px; }
.pk-cmp-cell.pk-pro { background: rgba(240,99,67,.05); }
.pk-cmp-cell.hc, .pk-cmp-col.hc { background: rgba(240,99,67,.1); }
.pk-cmp-mob { display: none; }
.pk-inf { display: inline-flex; align-items: center; gap: 6px; color: var(--pk-ok); font-weight: 800; }
.pk-inf svg { width: 16px; height: 16px; stroke-width: 3 !important; }
.pk-dash { color: var(--pk-muted); opacity: .6; }
.pk-cmp-row:last-child { border-radius: 0 0 28px 28px; }
@media (max-width: 860px) {
  .pk-cmp { --cols: 150px repeat(var(--n, 4), minmax(118px, 1fr)); overflow-x: auto; overscroll-behavior-x: contain; }
  .pk-cmp-row { min-width: max-content; }
  .pk-cmp-top { position: relative; top: 0; }
  .pk-cmp-feat { position: sticky; inset-inline-start: 0; z-index: 2; padding: 14px; font-size: 14px; background: var(--pk-panel); }
}

/* ---------- the last panel (the page) ---------- */
.pk-page .pk-final { padding: clamp(30px, 4vw, 70px) 0 var(--sec-y); }
html:not([data-theme="light"]) .pk-page .pk-final { background-color: transparent; }
.pk-final .cta { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.pk-final .cta .lead { margin-inline: auto; }
.pk-final .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.pk-final .ctas .btn svg { width: 18px; height: 18px; }
html[dir="rtl"] .pk-final .ctas .btn svg.arrow { transform: scaleX(-1); }

/* ---------- the home page section ---------- */
#packs.pk-scope { color: var(--pk-ink); }
#packs .shead { margin-bottom: clamp(26px, 3vw, 44px); }
.pk-home-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; margin-top: 30px; }
.pk-home-foot .pk-note { margin: 0; }
.pk-home-foot .pk-btn { min-width: 240px; }

/* ---------- weak machines, reduced motion: everything in place, nothing moving ---------- */
html.lite .pk-dots, html.lite .pk-ring i { animation: none; }
html.lite .pk-dots { display: none; }
html.lite .pk-card, html.lite .pk-lines li, html.lite .pk-cmp-row, html.lite .pk-fd, html.lite .pk-rv, html.lite .pk-stats li { opacity: 1; translate: none; transition: none; }
html.lite .pk-ck path { stroke-dashoffset: 0; transition: none; }
html.lite .pk-up { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .pk-dots { display: none; }
  .pk-ring i { animation: none; }
  .pk-card, .pk-lines li, .pk-cmp-row, .pk-fd, .pk-rv, .pk-stats li { opacity: 1 !important; translate: none !important; transition: none !important; }
  .pk-ck path { stroke-dashoffset: 0; transition: none; }
  .pk-up, .pk-fd-pack.swap, .pk-flash { animation: none; }
}
