/* KitPage brand shell: / landing + /guide/* + /for/*.
   "Ink & paper + one electric color" — docs/kitpage-roadmap.md §4.
   Raw CSS (not Tailwind-processed). Entrances animate transform only — nothing
   ever starts at opacity 0 (see CLAUDE.md §3). Never letter-space Persian text. */

@font-face { font-family: "Estedad"; src: url("../fonts/kitpage/estedad-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/kitpage/vazirmatn-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Lalezar"; src: url("../fonts/kitpage/lalezar.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Markazi"; src: url("../fonts/kitpage/markazi-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --kb-paper: #F3F0E8;
  --kb-paper-2: #E9E4D8;
  --kb-card: #FBF9F4;
  --kb-ink: #0B0B0C;
  --kb-ink-2: #55524B;
  --kb-line: rgb(11 11 12 / .12);
  --kb-line-2: rgb(11 11 12 / .06);
  --kb-volt: #D7FF3A;
  --kb-volt-ink: #0B0B0C;
  --kb-signal: #FF4D1F;
  --kb-ok: #1F9D55;
  --kb-shadow: 0 30px 60px -24px rgb(11 11 12 / .28);
  --kb-ease: cubic-bezier(.2, .8, .2, 1);
  --kb-spring: cubic-bezier(.34, 1.56, .64, 1);
  --kb-max: 1200px;
  --kb-gut: max(16px, calc((100vw - var(--kb-max)) / 2));
  color-scheme: light;
}
:root[data-theme="dark"] {
  --kb-paper: #0B0B0C; --kb-paper-2: #161617; --kb-card: #121213; --kb-ink: #F3F0E8; --kb-ink-2: #A8A49A;
  --kb-line: rgb(243 240 232 / .14); --kb-line-2: rgb(243 240 232 / .07); --kb-signal: #FF5A2E; --kb-ok: #3CCB7F;
  --kb-shadow: 0 30px 60px -24px rgb(0 0 0 / .7);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --kb-paper: #0B0B0C; --kb-paper-2: #161617; --kb-card: #121213; --kb-ink: #F3F0E8; --kb-ink-2: #A8A49A;
    --kb-line: rgb(243 240 232 / .14); --kb-line-2: rgb(243 240 232 / .07); --kb-signal: #FF5A2E; --kb-ok: #3CCB7F;
    --kb-shadow: 0 30px 60px -24px rgb(0 0 0 / .7);
    color-scheme: dark;
  }
}

/* ── Base ───────────────────────────────────────────────────────────── */
html:has(> body.kpl), body.kpl { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
.kpl {
  margin: 0; background: var(--kb-paper); color: var(--kb-ink);
  font-family: "Vazirmatn", Tahoma, sans-serif; font-size: 17px; line-height: 1.85;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* Paper grain: one inline SVG, no request. */
.kpl::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] .kpl::before { mix-blend-mode: screen; opacity: .05; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kpl::before { mix-blend-mode: screen; opacity: .05; } }
/* Resets are zero-specificity so any component class wins over them. */
:where(.kpl) *, :where(.kpl) *::before, :where(.kpl) *::after { box-sizing: border-box; }
:where(.kpl) img { max-width: 100%; display: block; }
:where(.kpl) a { color: inherit; }
:where(.kpl) :is(button, input) { font: inherit; color: inherit; }
.kpl [hidden] { display: none !important; }
.kpl :focus-visible { outline: 3px solid var(--kb-ink); outline-offset: 3px; border-radius: 6px; }
.kpl-skip { position: absolute; top: -60px; right: 16px; z-index: 200; background: var(--kb-ink); color: var(--kb-paper); padding: 8px 14px; border-radius: 99px; text-decoration: none; font-weight: 800; }
.kpl-skip:focus { top: 12px; }
.kpl-ic { width: 20px; height: 20px; flex: none; }
.kpl-ltr { direction: ltr; unicode-bidi: isolate; }
.kpl-hl { background: linear-gradient(transparent 52%, var(--kb-volt) 52%, var(--kb-volt) 90%, transparent 90%); color: var(--kb-volt-ink); padding: 0 .12em; border-radius: .08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Buttons */
.kpl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--kb-ink); cursor: pointer;
  background: var(--kb-ink); color: var(--kb-paper); font-weight: 800; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform .16s var(--kb-ease), background .16s, color .16s, box-shadow .16s;
}
.kpl-btn .kpl-ic { transition: transform .3s var(--kb-spring); }
.kpl-btn:hover { background: var(--kb-volt); color: var(--kb-volt-ink); border-color: var(--kb-volt-ink); box-shadow: 4px 4px 0 var(--kb-ink); transform: translate(-2px, -2px); }
.kpl-btn:hover .kpl-ic { transform: translateX(-4px); }
.kpl-btn:active { transform: translate(0, 0); box-shadow: 0 0 0 var(--kb-ink); }
.kpl-btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.kpl-btn--ghost { background: transparent; color: var(--kb-ink); }
.kpl-btn--volt { background: var(--kb-volt); color: var(--kb-volt-ink); border-color: var(--kb-volt-ink); }

/* ── Nav ────────────────────────────────────────────────────────────── */
.kpl-nav {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px;
  padding: 14px var(--kb-gut); background: color-mix(in srgb, var(--kb-paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.kpl-nav[data-scrolled] { border-bottom-color: var(--kb-line); }
.kpl-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Estedad", sans-serif; font-weight: 900; font-size: 19px; }
.kpl-mark { width: 30px; height: 30px; color: var(--kb-ink); transition: transform .5s var(--kb-spring); }
.kpl-logo:hover .kpl-mark { transform: rotate(-8deg) scale(1.06); }
.kpl-links { display: flex; gap: 26px; margin-inline-start: 12px; }
.kpl-links a, .kpl-login { text-decoration: none; font-weight: 700; font-size: 15px; color: var(--kb-ink-2); transition: color .16s; }
.kpl-links a:hover, .kpl-login:hover { color: var(--kb-ink); }
.kpl-nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; }
.kpl-theme { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--kb-line); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .16s; }
.kpl-theme:hover { background: var(--kb-paper-2); }
.kpl-theme .kpl-ic:last-child { display: none; }
:root[data-theme="dark"] .kpl-theme .kpl-ic:first-child { display: none; }
:root[data-theme="dark"] .kpl-theme .kpl-ic:last-child { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .kpl-theme .kpl-ic:first-child { display: none; }
  :root:not([data-theme="light"]) .kpl-theme .kpl-ic:last-child { display: block; }
}
/* Header dropdowns (guides, professions): open on hover, focus or tap. */
.kpl-links { align-items: center; }
.kpl-dd { position: relative; }
.kpl-dd-btn { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; font-size: 15px; color: var(--kb-ink-2); cursor: pointer; transition: color .16s; }
.kpl-dd-btn:hover, .kpl-dd[data-open] .kpl-dd-btn { color: var(--kb-ink); }
.kpl-dd-btn .kpl-ic { width: 14px; height: 14px; transition: transform .2s; }
.kpl-dd[data-open] .kpl-dd-btn .kpl-ic { transform: rotate(180deg); }
.kpl-dd-menu { position: absolute; top: 100%; inset-inline-start: -14px; min-width: 220px; max-height: 70vh; overflow-y: auto; padding: 8px; margin-top: 12px;
  display: none; flex-direction: column; gap: 2px; background: var(--kb-paper); border: 1px solid var(--kb-line); border-radius: 16px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.28); }
.kpl-dd-menu::before { content: ""; position: absolute; inset-inline: 0; top: -14px; height: 14px; }
.kpl-dd[data-open] .kpl-dd-menu { display: flex; }
.kpl-dd-menu a { padding: 9px 12px; border-radius: 10px; white-space: nowrap; font-size: 14px; }
.kpl-dd-menu a:hover { background: var(--kb-paper-2); }
@media (max-width: 860px) { .kpl-links { display: none; } }
@media (max-width: 420px) { .kpl-login { display: none; } .kpl-nav { gap: 12px; } }

/* ── Section scaffolding ────────────────────────────────────────────── */
.kpl-sec { padding: clamp(80px, 12vw, 170px) var(--kb-gut) 0; }
.kpl-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--kb-ink-2); margin: 0 0 18px; }
.kpl-eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--kb-volt); box-shadow: 0 0 0 1.5px var(--kb-ink); }
.kpl-h2 { font-family: "Estedad", sans-serif; font-weight: 900; font-size: clamp(38px, 6.4vw, 92px); line-height: 1.02; margin: 0 0 22px; }
.kpl-lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--kb-ink-2); max-width: 56ch; margin: 0; }
.kpl-sec-head { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr); gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
@media (max-width: 860px) { .kpl-sec-head { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* Reveal: transform-only (the content is always visible). */
.kpl-rv { transform: translateY(28px); transition: transform .9s var(--kb-ease); }
.kpl-rv[data-in] { transform: none; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.kpl-hero { position: relative; padding: clamp(28px, 5vw, 72px) var(--kb-gut) clamp(40px, 6vw, 90px); }
.kpl-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--kb-line-2) 1px, transparent 1px), linear-gradient(90deg, var(--kb-line-2) 1px, transparent 1px);
  background-size: 80px 80px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.kpl-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.kpl-hero h1 {
  font-family: "Estedad", sans-serif; font-weight: 900; line-height: .98; margin: 0 0 28px;
  font-size: clamp(64px, 11.5vw, 176px);
}
.kpl-hero h1 span { display: block; }
/* A/B arm b (KP-3.7) is a sentence, not two words: smaller so it still sets in ~3 lines. */
.kpl-hero h1[data-arm="b"] { font-size: clamp(34px, 9.2vw, 104px); line-height: 1.12; }
@media (min-width: 700px) { .kpl-hero h1[data-arm="b"] { font-size: clamp(40px, 5.3vw, 96px); } }
.kpl-hero h1 mark, .kpl-hero h1 .kpl-nw { white-space: nowrap; }
.kpl-hero h1 .kpl-nw { display: inline; }
.kpl-hero-sub { font-size: clamp(18px, 1.7vw, 22px); color: var(--kb-ink-2); max-width: 36ch; margin: 0 0 34px; }
.kpl-trust { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 700; color: var(--kb-ink-2); }
.kpl-trust li { display: inline-flex; align-items: center; gap: 8px; }
.kpl-trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--kb-ink); }

/* Claim-your-address */
.kpl-claim { display: flex; flex-wrap: wrap; gap: 8px; max-width: 580px; padding: 7px; border-radius: 999px; background: var(--kb-card); border: 1.5px solid var(--kb-ink); box-shadow: 6px 6px 0 var(--kb-ink); }
.kpl-claim:focus-within { box-shadow: 6px 6px 0 var(--kb-volt), 6px 6px 0 1.5px var(--kb-ink); }
.kpl-claim-in { flex: 1; min-width: 0; display: flex; align-items: center; direction: ltr; padding-left: 18px; cursor: text; }
.kpl-claim-in span { color: var(--kb-ink-2); font-size: 16px; white-space: nowrap; font-weight: 600; }
.kpl-claim-in input { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; font-size: 17px; font-weight: 800; outline: none; padding: 0 2px; }
.kpl-claim-in input:focus-visible { outline: none; }
.kpl-claim-in input::placeholder { color: color-mix(in srgb, var(--kb-ink-2) 55%, transparent); }
.kpl-claim .kpl-btn { height: 52px; }
.kpl-claim-hint { flex-basis: 100%; margin: 0; padding: 0 18px; min-height: 0; font-size: 14px; font-weight: 700; color: var(--kb-ink-2); }
.kpl-claim-hint:empty { display: none; }
.kpl-claim-hint[data-s="ok"] { color: var(--kb-ok); }
.kpl-claim-hint[data-s="bad"] { color: var(--kb-signal); }
.kpl-claim-hint button { border: 0; background: var(--kb-paper-2); border-radius: 99px; padding: 2px 10px; margin: 2px 4px; cursor: pointer; font-weight: 800; direction: ltr; }
.kpl-claim-hint button:hover { background: var(--kb-volt); color: var(--kb-volt-ink); }
.kpl-claim:has(.kpl-claim-hint:not(:empty)) { border-radius: 30px; }
@media (max-width: 560px) {
  /* nowrap: a wrapping column sizes its line to the content, so the label would overflow. */
  .kpl-claim { border-radius: 28px; flex-direction: column; flex-wrap: nowrap; }
  .kpl-claim .kpl-btn { width: 100%; }
  .kpl-claim-in { padding: 0 12px; }
}

/* Stage: phone + stickers */
.kpl-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.kpl-phone {
  --w: 320px; --h: 660px;
  position: relative; width: var(--w); height: var(--h); border-radius: 50px; overflow: hidden; background: var(--kb-paper-2);
  box-shadow: 0 0 0 9px var(--kb-ink), var(--kb-shadow); touch-action: pan-y; transform: rotate(-2deg);
  transition: transform .6s var(--kb-spring);
}
.kpl-stage:hover .kpl-phone { transform: rotate(0); }
.kpl-phone::after { content: ""; position: absolute; top: 12px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 99px; background: var(--kb-ink); z-index: 3; pointer-events: none; }
.kpl-phone iframe, .kpl-phone img {
  position: absolute; top: 0; right: 0; width: 390px; height: calc(var(--h) * 390 / 320); border: 0;
  transform: scale(calc(320 / 390)); transform-origin: top right;
}
.kpl-phone img { height: auto; max-width: none; }
.kpl-phone iframe[data-loading] { visibility: hidden; }
.kpl-phone-url {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 4; max-width: calc(100% - 28px);
  background: color-mix(in srgb, var(--kb-card) 88%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--kb-line); border-radius: 99px; padding: 4px 14px; font-size: 13px; font-weight: 700; direction: ltr; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #0B0B0C; background-color: rgb(251 249 244 / .9);
}
.kpl-sticker {
  position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 14px;
  font-weight: 900; font-size: 15px; background: var(--kb-card); color: var(--kb-ink); border: 1.5px solid var(--kb-ink);
  box-shadow: 3px 3px 0 var(--kb-ink); cursor: grab; user-select: none; touch-action: none; white-space: nowrap;
  transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--r, 0deg)); transition: box-shadow .16s;
}
.kpl-sticker:active { cursor: grabbing; box-shadow: 6px 6px 0 var(--kb-ink); }
.kpl-sticker--volt { background: var(--kb-volt); color: var(--kb-volt-ink); border-color: var(--kb-volt-ink); box-shadow: 3px 3px 0 var(--kb-volt-ink); }
.kpl-sticker--ink { background: var(--kb-ink); color: var(--kb-paper); }
.kpl-sticker[data-s="1"] { top: 70px; right: -10px; --r: 6deg; }
.kpl-sticker[data-s="2"] { top: 300px; left: -26px; --r: -7deg; }
.kpl-sticker[data-s="3"] { bottom: 120px; right: -20px; --r: -4deg; }
.kpl-tpls { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 5px; border-radius: 24px; max-width: 460px; margin-inline: auto; border: 1px solid var(--kb-line); background: var(--kb-card); }
.kpl-tpls button {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 0; border-radius: 99px;
  background: transparent; color: var(--kb-ink-2); font-size: 14px; font-weight: 800; cursor: pointer; transition: background .16s, color .16s;
}
.kpl-tpls button i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1.5px var(--kb-card), 0 0 0 2.5px var(--c); }
.kpl-tpls button:hover { color: var(--kb-ink); }
.kpl-tpls button[aria-selected="true"] { background: var(--kb-ink); color: var(--kb-paper); }
@media (max-width: 960px) {
  .kpl-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .kpl-stage { margin-top: 20px; }
}
@media (max-width: 420px) {
  .kpl-phone { --w: 290px; --h: 600px; }
  .kpl-phone iframe, .kpl-phone img { transform: scale(calc(290 / 390)); height: calc(600px * 390 / 290); }
  .kpl-sticker { font-size: 13px; padding: 6px 12px; }
  .kpl-sticker[data-s="1"] { right: 0; }
  .kpl-sticker[data-s="2"] { left: -4px; }
  .kpl-sticker[data-s="3"] { right: 0; }
}

/* ── Marquee band ───────────────────────────────────────────────────── */
.kpl-band { background: var(--kb-ink); color: var(--kb-paper); overflow: hidden; padding: 20px 0; transform: rotate(-1.2deg) scale(1.02); margin-top: 20px; }
.kpl-band-track { display: flex; width: max-content; gap: 34px; animation: kpl-mq 38s linear infinite; font-family: "Estedad", sans-serif; font-weight: 900; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.2; white-space: nowrap; }
.kpl-band-track i { font-style: normal; color: var(--kb-volt); }
@keyframes kpl-mq { to { transform: translateX(50%); } }
:root[data-theme="dark"] .kpl-band { background: var(--kb-volt); color: var(--kb-volt-ink); }
:root[data-theme="dark"] .kpl-band-track i { color: var(--kb-volt-ink); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .kpl-band { background: var(--kb-volt); color: var(--kb-volt-ink); }
  :root:not([data-theme="light"]) .kpl-band-track i { color: var(--kb-volt-ink); }
}

/* ── Showcase wall ──────────────────────────────────────────────────── */
.kpl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kpl-chip {
  height: 40px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--kb-line); background: transparent;
  font-size: 14px; font-weight: 800; color: var(--kb-ink-2); cursor: pointer; transition: all .16s;
}
.kpl-chip:hover { border-color: var(--kb-ink); color: var(--kb-ink); }
.kpl-chip[aria-pressed="true"] { background: var(--kb-ink); border-color: var(--kb-ink); color: var(--kb-paper); }
.kpl-wall { position: relative; height: clamp(620px, 80vh, 860px); overflow: hidden; margin-top: 30px; border-radius: 36px; border: 1px solid var(--kb-line); background: var(--kb-paper-2);
  mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); }
.kpl-wall-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding: 0 22px; }
.kpl-wall-col { display: flex; flex-direction: column; gap: 22px; animation: kpl-up var(--d, 60s) linear infinite; }
.kpl-wall-col:nth-child(2) { animation-direction: reverse; --d: 70s; }
.kpl-wall-col:nth-child(3) { --d: 54s; }
.kpl-wall:hover .kpl-wall-col, .kpl-wall:focus-within .kpl-wall-col { animation-play-state: paused; }
@keyframes kpl-up { to { transform: translateY(-50%); } }
.kpl-shot {
  display: block; position: relative; width: 100%; padding: 0; border: 0; border-radius: 28px; overflow: hidden; cursor: pointer; background: var(--kb-card);
  box-shadow: 0 0 0 1px var(--kb-line), 0 20px 40px -26px rgb(0 0 0 / .45); aspect-ratio: 390 / 844; transition: transform .4s var(--kb-spring);
}
.kpl-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.kpl-shot:hover { transform: translateY(-6px) rotate(-1deg); }
.kpl-shot figcaption, .kpl-shot > span {
  position: absolute; bottom: 12px; right: 12px; padding: 4px 12px; border-radius: 99px; font-size: 13px; font-weight: 800;
  background: rgb(11 11 12 / .86); color: #F3F0E8; backdrop-filter: blur(6px);
}
.kpl-shot[data-hide] { display: none; }
@media (max-width: 720px) {
  .kpl-wall-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0 14px; }
  .kpl-wall-col { gap: 14px; }
  .kpl-wall-col:nth-child(3) { display: none; }
}

/* Modal (live demo) */
.kpl-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgb(11 11 12 / .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.kpl-modal-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; max-height: 100%; }
.kpl-modal .kpl-phone { --w: 340px; --h: min(700px, calc(100dvh - 150px)); transform: none; }
.kpl-modal .kpl-phone iframe { transform: scale(calc(340 / 390)); height: calc(var(--h) * 390 / 340); }
.kpl-modal-x { position: absolute; top: -6px; left: -56px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #F3F0E8; color: #0B0B0C; cursor: pointer; display: grid; place-items: center; }
.kpl-modal-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 480px) {
  .kpl-modal .kpl-phone { --w: 300px; }
  .kpl-modal .kpl-phone iframe { transform: scale(calc(300 / 390)); height: calc(var(--h) * 390 / 300); }
  .kpl-modal-x { left: auto; right: 0; top: -54px; }
}

/* ── Before / after ─────────────────────────────────────────────────── */
.kpl-ba-tabs { margin-bottom: 22px; }
.kpl-ba { --p: 50%; position: relative; height: clamp(460px, 62vw, 620px); border-radius: 36px; overflow: hidden; border: 1.5px solid var(--kb-ink); user-select: none; touch-action: pan-y; }
.kpl-ba-side { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; }
.kpl-ba-side { direction: rtl; }
/* RTL: "before" owns the right half, "after" the left; the handle at --p (from the left) splits them. */
.kpl-ba-before { background: #DAD7D0; color: #6d6a64; filter: grayscale(1); padding-left: 50%; }
.kpl-ba-after { background: var(--kb-volt); clip-path: inset(0 calc(100% - var(--p)) 0 0); padding-right: 50%; }
@media (max-width: 640px) { .kpl-ba-before, .kpl-ba-after { padding-left: 0; padding-right: 0; } }
.kpl-ba-label { position: absolute; top: 18px; z-index: 3; padding: 4px 14px; border-radius: 99px; font-weight: 900; font-size: 14px; }
.kpl-ba-before .kpl-ba-label { right: 18px; background: #0B0B0C; color: #F3F0E8; }
.kpl-ba-after .kpl-ba-label { left: 18px; background: #0B0B0C; color: #D7FF3A; }
.kpl-ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--p); z-index: 4; width: 0; display: grid; place-items: center; cursor: ew-resize;
}
.kpl-ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: #0B0B0C; }
.kpl-ba-handle b { position: relative; width: 52px; height: 52px; margin-left: -26px; border-radius: 50%; background: #0B0B0C; color: #D7FF3A; display: grid; place-items: center; font-size: 20px; box-shadow: 0 10px 24px -8px rgb(0 0 0 / .5); }
.kpl-ba-handle:focus-visible b { outline: 3px solid #fff; outline-offset: 2px; }
.kpl-ba-mock { width: min(330px, 80%); }
.kpl-ba-pane { display: contents; }
.kpl-ba-pane[hidden] { display: none !important; }
.kpl-ba-shot { width: min(300px, 70%); border-radius: 30px; box-shadow: 0 0 0 7px #0B0B0C, 0 30px 60px -20px rgb(0 0 0 / .5); overflow: hidden; aspect-ratio: 390 / 700; }
.kpl-ba-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* "Before" mockups: deliberately tired and generic. */
.kpl-old { background: #efeeea; border-radius: 16px; padding: 22px; font-size: 14px; line-height: 1.8; box-shadow: 0 1px 0 #c9c6bf; }
.kpl-old-row { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.kpl-old-av { width: 60px; height: 60px; border-radius: 50%; background: #c9c6bf; flex: none; }
.kpl-old-bars i { display: block; height: 9px; border-radius: 4px; background: #c9c6bf; margin: 6px 0; }
.kpl-old-link { direction: ltr; text-align: left; color: #5b7fa6; text-decoration: underline; font-size: 13px; }
.kpl-old-doc { background: #fff; padding: 26px; border-radius: 4px; box-shadow: 0 2px 8px rgb(0 0 0 / .2); font-family: Tahoma, sans-serif; font-size: 11px; color: #444; filter: blur(.4px); }
.kpl-old-doc b { display: block; font-size: 15px; margin-bottom: 8px; }
.kpl-old-doc table { width: 100%; border-collapse: collapse; }
.kpl-old-doc td { border: 1px solid #bbb; padding: 3px 6px; }

/* ── Chapters (sticky phone) ────────────────────────────────────────── */
.kpl-ch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); }
.kpl-ch-stage { position: sticky; top: 110px; height: calc(100vh - 140px); max-height: 720px; display: grid; place-items: center; }
.kpl-ch-stage .kpl-phone { transform: none; }
.kpl-ch-stage .kpl-phone img { transition: transform .6s var(--kb-ease), opacity .45s; opacity: 0; transform: scale(calc(320 / 390)) translateY(18px); }
.kpl-ch-stage .kpl-phone img[data-on] { opacity: 1; transform: scale(calc(320 / 390)); }
.kpl-ch-stage .kpl-phone img:first-child:not([data-off]) { opacity: 1; }
.kpl-ch-steps { display: flex; flex-direction: column; }
.kpl-ch-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
.kpl-ch-no { font-family: "Estedad", sans-serif; font-weight: 900; font-size: 18px; color: var(--kb-ink-2); margin-bottom: 14px; }
.kpl-ch-step h3 { font-family: "Estedad", sans-serif; font-weight: 900; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; margin: 0 0 18px; }
.kpl-ch-step p { color: var(--kb-ink-2); font-size: 19px; max-width: 34ch; margin: 0 0 22px; }
.kpl-ch-step ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kpl-ch-step li { padding: 6px 14px; border: 1.5px solid var(--kb-ink); border-radius: 99px; font-size: 14px; font-weight: 800; }
.kpl-ch-step li:first-child { background: var(--kb-volt); color: var(--kb-volt-ink); border-color: var(--kb-volt-ink); }
.kpl-ch-inline { display: none; }
@media (max-width: 860px) {
  .kpl-ch { grid-template-columns: minmax(0, 1fr); }
  .kpl-ch-stage { display: none; }
  .kpl-ch-step { min-height: 0; padding: 30px 0; }
  .kpl-ch-inline { display: block; width: 260px; margin: 24px auto 0; border-radius: 32px; overflow: hidden; box-shadow: 0 0 0 7px var(--kb-ink), var(--kb-shadow); aspect-ratio: 390 / 700; }
  .kpl-ch-inline img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
}

/* ── "Only here" bento ──────────────────────────────────────────────── */
.kpl-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: 16px; }
.kpl-cell { position: relative; overflow: hidden; border-radius: 30px; padding: 28px; background: var(--kb-card); border: 1px solid var(--kb-line); display: flex; flex-direction: column; gap: 8px; }
.kpl-cell h3 { font-family: "Estedad", sans-serif; font-weight: 900; font-size: 24px; line-height: 1.25; margin: auto 0 0; }
.kpl-cell p { margin: 0; color: var(--kb-ink-2); font-size: 15.5px; }
.kpl-cell--l { grid-column: span 2; grid-row: span 2; }
.kpl-cell--w { grid-column: span 2; }
/* Always a night tile (in dark mode too), so the volt figure keeps its contrast. */
.kpl-cell--ink { background: #0B0B0C; color: #F3F0E8; border-color: var(--kb-line); }
.kpl-cell--ink p { color: rgb(243 240 232 / .7); }
.kpl-cell--volt { background: var(--kb-volt); color: var(--kb-volt-ink); border-color: var(--kb-volt-ink); }
.kpl-cell--volt p { color: rgb(11 11 12 / .7); }
/* Persian type: one word, four faces */
.kpl-type { flex: 1; display: grid; place-items: center; font-size: clamp(90px, 13vw, 190px); line-height: 1; }
.kpl-type span { grid-area: 1 / 1; transition: transform .6s var(--kb-spring), opacity .4s; }
.kpl-type span:not([data-on]) { opacity: 0; transform: translateY(20px) scale(.92); }
.kpl-type span:first-child:not([data-off]) { opacity: 1; transform: none; }
/* WhatsApp bubble */
.kpl-chat { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.kpl-bubble { max-width: 92%; background: #DCF8C6; color: #111; padding: 10px 14px; border-radius: 16px 16px 4px 16px; font-size: 14.5px; line-height: 1.7; box-shadow: 0 1px 0 rgb(0 0 0 / .15); }
.kpl-bubble b { font-weight: 800; }
.kpl-typing::after { content: "|"; animation: kpl-blink 1s steps(1) infinite; margin-right: 2px; }
@keyframes kpl-blink { 50% { opacity: 0; } }
/* Brand logos row */
.kpl-brands { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.kpl-brands .kp-logo { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); transition: transform .3s var(--kb-spring); }
.kpl-brands .kp-logo:hover { transform: translateY(-4px) rotate(-6deg); }
.kpl-brands .kp-bi { width: 24px; height: 24px; }
.kpl-brands .kp-mono text { font-family: "Estedad", sans-serif; }
/* Share card mock */
.kpl-card-mock { flex: 1; display: grid; place-items: center; }
.kpl-card-mock > div { width: min(100%, 360px); aspect-ratio: 1200 / 630; border-radius: 16px; background: #1d4ed8; color: #fff; padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; transform: rotate(-3deg); box-shadow: 6px 6px 0 var(--kb-volt-ink); }
.kpl-card-mock b { font-family: "Estedad", sans-serif; font-size: 26px; display: block; line-height: 1.2; }
.kpl-card-mock small { opacity: .8; font-size: 12px; }
.kpl-card-mock i { width: 70px; height: 70px; border-radius: 50%; background: #F3F0E8; color: #1d4ed8; display: grid; place-items: center; font-style: normal; font-family: "Estedad", sans-serif; font-weight: 900; font-size: 26px; }
.kpl-card-mock u { grid-column: 1 / -1; text-decoration: none; justify-self: start; direction: ltr; background: #F3F0E8; color: #0B0B0C; border-radius: 99px; padding: 2px 10px; font-size: 11px; font-weight: 700; }
.kpl-speed { font-family: "Estedad", sans-serif; font-weight: 900; font-size: clamp(64px, 7vw, 104px); line-height: .9; margin-top: 4px; color: var(--kb-volt); }
.kpl-speed small { display: block; font-size: 16px; line-height: 1.5; margin-top: 10px; color: inherit; font-weight: 800; }
.kpl-addrow { display: flex; flex-wrap: wrap; gap: 8px; }
.kpl-addrow span { padding: 6px 14px; border-radius: 12px; border: 1.5px dashed var(--kb-line); font-size: 14px; font-weight: 800; color: var(--kb-ink-2); transition: all .2s; }
.kpl-cell:hover .kpl-addrow span:nth-child(odd) { border-style: solid; border-color: var(--kb-ink); color: var(--kb-ink); transform: translateY(-2px); }
@media (max-width: 980px) {
  .kpl-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpl-cell--l { grid-row: auto; }
}
@media (max-width: 560px) {
  .kpl-bento { grid-template-columns: minmax(0, 1fr); }
  .kpl-cell--l, .kpl-cell--w { grid-column: auto; }
}

/* ── Template strip ─────────────────────────────────────────────────── */
.kpl-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 26px; scrollbar-width: thin; }
.kpl-tpl { scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.kpl-tpl .kpl-shot { border-radius: 30px; }
.kpl-tpl figcaption { display: flex; flex-direction: column; gap: 2px; }
.kpl-tpl figcaption b { font-family: "Estedad", sans-serif; font-size: 22px; font-weight: 900; }
.kpl-tpl figcaption span { color: var(--kb-ink-2); font-size: 14.5px; }

/* ── Free ───────────────────────────────────────────────────────────── */
.kpl-free { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: clamp(36px, 6vw, 80px); border-radius: 40px; background: var(--kb-ink); color: var(--kb-paper); }
.kpl-free .kpl-h2 { margin: 0; }
.kpl-free .kpl-h2 em { font-style: normal; color: var(--kb-volt); }
:root[data-theme="dark"] .kpl-free { background: var(--kb-paper-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kpl-free { background: var(--kb-paper-2); } }
.kpl-free ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 18px; font-weight: 700; }
.kpl-free li { display: flex; gap: 12px; align-items: center; }
.kpl-free li .kpl-ic { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--kb-volt); color: var(--kb-volt-ink); }
@media (max-width: 800px) { .kpl-free { grid-template-columns: minmax(0, 1fr); } }

/* ── FAQ ────────────────────────────────────────────────────────────── */
.kpl-faq { display: flex; flex-direction: column; border-top: 1.5px solid var(--kb-ink); }
.kpl-faq details { border-bottom: 1.5px solid var(--kb-ink); }
.kpl-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; font-family: "Estedad", sans-serif; font-weight: 800; font-size: clamp(19px, 2vw, 24px); }
.kpl-faq summary::-webkit-details-marker { display: none; }
.kpl-faq summary::after { content: "+"; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--kb-ink); display: grid; place-items: center; font-size: 22px; transition: transform .3s var(--kb-spring), background .16s; }
.kpl-faq details[open] summary::after { transform: rotate(45deg); background: var(--kb-volt); color: var(--kb-volt-ink); border-color: var(--kb-volt-ink); }
.kpl-faq details p { margin: 0 0 26px; color: var(--kb-ink-2); max-width: 70ch; }

/* ── Final CTA ──────────────────────────────────────────────────────── */
.kpl-final { text-align: center; display: flex; flex-direction: column; align-items: center; padding-bottom: clamp(80px, 10vw, 140px); }
.kpl-final .kpl-h2 { font-size: clamp(48px, 9vw, 140px); }
.kpl-final .kpl-lead { margin-bottom: 36px; }
.kpl-final .kpl-claim { width: 100%; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.kpl-foot { border-top: 1.5px solid var(--kb-ink); padding: 56px var(--kb-gut) 36px; margin-top: 40px; }
.kpl-foot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.kpl-foot-brand p { color: var(--kb-ink-2); font-size: 15px; max-width: 34ch; }
.kpl-foot nav { display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.kpl-foot nav b { font-family: "Estedad", sans-serif; font-size: 16px; margin-bottom: 6px; }
.kpl-foot nav a { color: var(--kb-ink-2); text-decoration: none; }
.kpl-foot nav a:hover { color: var(--kb-ink); text-decoration: underline; }
.kpl-foot-note { margin: 40px 0 0; color: var(--kb-ink-2); font-size: 13.5px; }
@media (max-width: 900px) { .kpl-foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .kpl-foot-brand { grid-column: 1 / -1; } }

/* ── Guide / for pages ──────────────────────────────────────────────── */
.kpl-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--kb-ink-2); margin: 0 0 22px; padding: 0; list-style: none; }
.kpl-crumbs li:not(:last-child)::after { content: "/"; margin-right: 8px; opacity: .5; }
.kpl-crumbs a { text-decoration: none; }
.kpl-crumbs a:hover { text-decoration: underline; }
.kpl-g { padding: clamp(28px, 5vw, 64px) var(--kb-gut) 0; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 6vw, 100px); align-items: start; }
.kpl-g-hero h1 { font-family: "Estedad", sans-serif; font-weight: 900; font-size: clamp(40px, 6vw, 84px); line-height: 1.05; margin: 0 0 22px; }
.kpl-g-hero .kpl-lead { margin-bottom: 30px; }
.kpl-g--solo { grid-template-columns: minmax(0, 1fr); }
.kpl-updated { font-size: 13px; color: var(--kb-ink-2); margin: -12px 0 0; }
.kpl-g-side { position: sticky; top: 96px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.kpl-g-side .kpl-phone { transform: rotate(2deg); }
.kpl-g-side small { color: var(--kb-ink-2); font-size: 13px; }
.kpl-prose { max-width: 720px; font-size: 18px; line-height: 2.05; color: var(--kb-ink-2); }
.kpl-prose h2 { font-family: "Estedad", sans-serif; font-weight: 900; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; color: var(--kb-ink); margin: 64px 0 16px; }
.kpl-prose strong { color: var(--kb-ink); }
.kpl-prose p { margin: 0 0 18px; }
.kpl-list { padding-inline-start: 24px; margin: 0 0 18px; display: flex; flex-direction: column; gap: 12px; }
.kpl-list li::marker { font-weight: 900; color: var(--kb-ink); }
.kpl-howto { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; counter-reset: h; }
.kpl-howto li { counter-increment: h; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; padding: 18px; border: 1.5px solid var(--kb-ink); border-radius: 22px; background: var(--kb-card); line-height: 1.8; }
.kpl-howto li::before { content: counter(h, persian); grid-row: span 2; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-family: "Estedad", sans-serif; font-weight: 900; font-size: 22px; background: var(--kb-volt); color: var(--kb-volt-ink); }
.kpl-howto b { color: var(--kb-ink); font-size: 18px; }
.kpl-howto span { font-size: 16px; }
.kpl-blocks-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0; padding: 0; list-style: none; }
.kpl-blocks-list li { padding: 18px; border-radius: 22px; background: var(--kb-card); border: 1px solid var(--kb-line); line-height: 1.7; }
.kpl-blocks-list b { display: block; color: var(--kb-ink); font-size: 17px; }
.kpl-blocks-list span { font-size: 15px; }
.kpl-tip { padding: 22px 24px; border-radius: 24px; background: var(--kb-volt); color: var(--kb-volt-ink); margin: 20px 0; }
.kpl-tip b { font-family: "Estedad", sans-serif; font-size: 20px; }
.kpl-tip p { margin: 6px 0 0; color: rgb(11 11 12 / .8); }
.kpl-related { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.kpl-related a { padding: 8px 16px; border: 1.5px solid var(--kb-line); border-radius: 99px; font-size: 14.5px; font-weight: 800; text-decoration: none; transition: all .16s; }
.kpl-related a:hover { border-color: var(--kb-ink); background: var(--kb-ink); color: var(--kb-paper); }
@media (max-width: 900px) {
  .kpl-g { grid-template-columns: minmax(0, 1fr); }
  .kpl-g-side { position: static; order: 2; }
  .kpl-blocks-list { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kpl *, .kpl *::before, .kpl *::after { animation: none !important; transition-duration: .01ms !important; }
  .kpl-rv { transform: none; }
}

/* Filtered wall: stop the loop, drop the duplicate half, lay the matches out flat. */
.kpl-wall[data-filtered] { height: auto; mask-image: none; -webkit-mask-image: none; padding: 22px 0; }
.kpl-wall[data-filtered] .kpl-wall-col { animation: none; }
.kpl-wall[data-filtered] .kpl-wall-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.kpl-wall[data-filtered] .kpl-wall-col { display: contents; }
.kpl-wall[data-filtered] .kpl-shot[aria-hidden="true"] { display: none; }

/* ── /explore (KP-6.1) ──────────────────────────────────────────── */
.kpx { padding: clamp(28px, 5vw, 64px) var(--kb-gut) 80px; display: flex; flex-direction: column; gap: 28px; }
.kpx-hero h1 { font-family: "Estedad", sans-serif; font-weight: 900; font-size: clamp(48px, 8vw, 110px); line-height: 1; margin: 0 0 16px; }
.kpx-hero .kpl-lead { max-width: 640px; }
.kpx-featured { position: relative; }
.kpx-badge { position: absolute; z-index: 2; top: -14px; right: 18px; background: var(--kb-volt); color: var(--kb-volt-ink); font-weight: 900; font-size: 13px; padding: 6px 14px; border-radius: 99px; border: 1.5px solid var(--kb-ink); transform: rotate(-3deg); }
.kpx-filters { display: flex; flex-direction: column; gap: 10px; }
.kpx-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.kpx-chips a { height: 38px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--kb-line); color: var(--kb-ink); text-decoration: none; font-weight: 700; font-size: 14px; }
.kpx-chips a:hover { border-color: var(--kb-ink); }
.kpx-chips a[aria-current] { background: var(--kb-ink); color: var(--kb-paper); border-color: var(--kb-ink); }
.kpx-chips--tpl a { height: 32px; font-size: 13px; padding: 0 12px; }
.kpx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.kpx-card { display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 24px; background: var(--kb-card); border: 1px solid var(--kb-line); transition: transform .3s var(--kb-spring), box-shadow .3s; }
.kpx-card:hover { transform: translateY(-4px); box-shadow: var(--kb-shadow); }
.kpx-card--big { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 20px; padding: 16px; }
.kpx-card--big .kpx-visual { grid-row: span 2; }
@media (max-width: 760px) { .kpx-card--big { grid-template-columns: minmax(0, 1fr); } .kpx-card--big .kpx-visual { grid-row: auto; } }
.kpx-visual { display: block; aspect-ratio: 1200 / 630; border-radius: 16px; overflow: hidden; background: var(--kb-paper-2); }
.kpx-visual > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kpx-mock { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 0 8%; background: var(--p); color: var(--i); overflow: hidden; }
.kpx-mock .kpx-av { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--a); color: #fff; font-weight: 900; font-size: 20px; margin-bottom: 6px; }
.kpx-mock b { font-family: "Estedad", sans-serif; font-size: clamp(18px, 2.2vw, 26px); font-weight: 900; }
.kpx-mock small { opacity: .7; font-size: 13px; }
.kpx-mock i { position: absolute; left: 7%; width: 30%; height: 22%; border-radius: 12px; background: color-mix(in srgb, var(--i) 10%, transparent); }
.kpx-mock i:nth-of-type(1) { top: 12%; background: var(--a); opacity: .85; }
.kpx-mock i:nth-of-type(2) { top: 39%; }
.kpx-mock i:nth-of-type(3) { top: 66%; }
.kpx-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 4px; min-width: 0; }
.kpx-meta div { min-width: 0; display: flex; flex-direction: column; }
.kpx-meta b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kpx-meta small { color: var(--kb-ink-2); font-size: 12.5px; text-align: right; }
.kpx-tag { flex: none; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: var(--kb-paper-2); }
.kpx-acts { display: flex; align-items: center; gap: 8px; padding: 0 4px 4px; flex-wrap: wrap; }
.kpx-rmx { color: var(--kb-ink-2); font-size: 12.5px; margin-inline-start: auto; }
.kpx-more { text-align: center; }
.kpx-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 36px; border-radius: 24px; border: 1.5px dashed var(--kb-line); }
.kpx-empty p { font-size: 20px; font-weight: 800; margin: 0; }
.kpx-empty small { color: var(--kb-ink-2); }
