/* kliperio.com site pages (server/lib/site, docs/SEO_PLAN.md 5): the studio's own look, by hand, with no web/src CSS.
   Light is :root, dark is [data-theme=dark] (theme-boot.js sets it; dark unless the browser chose light). Mobile first.
   Every class starts with kp-. No ad-blocker words in any name. Motion is CSS only and off under reduced motion. */
@font-face { font-family: 'Outfit Variable'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/p/_/f/outfit-latin-wght-normal.woff2) format('woff2-variations'), url(/p/_/f/outfit-latin-wght-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter Variable'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/p/_/f/inter-latin-wght-normal.woff2) format('woff2-variations'), url(/p/_/f/inter-latin-wght-normal.woff2) format('woff2'); }

:root {
  --ink: #1f1d3d; --ink-2: #3c3a62; --muted: #67648c;
  --line: rgba(255, 255, 255, 0.9); --soft-line: rgba(120, 110, 190, 0.22); --dash: rgba(120, 110, 190, 0.38);
  --accent: #8f7dff; --accent-text: #6650e6; --ok: #22895a;
  --go: linear-gradient(95deg, #b3a3ff 0%, #96a8ff 55%, #8cc4ff 100%);
  --go-btn: linear-gradient(100deg, #9581ff 0%, #7a89ff 52%, #5f9ff0 100%);
  --ring: linear-gradient(140deg, rgba(167, 150, 255, 0.95), rgba(140, 196, 255, 0.6) 45%, rgba(255, 143, 208, 0.55));
  --display: 'Outfit Variable', 'Inter Variable', system-ui, sans-serif;
  --ui: 'Inter Variable', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'Cascadia Mono', Menlo, Consolas, monospace;
  --bg: #eef0fb; --bg-img: url(/art/bg-pearl-soft.webp);
  --wash: radial-gradient(ellipse 45% 50% at 18% 30%, rgba(255, 255, 255, 0.45), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 30%, rgba(243, 242, 252, 0.74) 58%, rgba(241, 240, 251, 0.95) 100%);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.46));
  --glass-solid: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
  --shadow: 0 10px 34px rgba(110, 100, 185, 0.14), inset 0 1px 0 #fff;
  --lift: 0 18px 44px rgba(110, 100, 185, 0.22), inset 0 1px 0 #fff;
  --cell: #fafaff; --row: rgba(143, 125, 255, 0.07); --pill: rgba(255, 255, 255, 0.6);
  --chrome: linear-gradient(180deg, #1f1d45 0%, #2c2a5c 42%, #5a589a 64%, #2a285a 100%);
  --chrome-fx: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.9)) drop-shadow(0 8px 18px rgba(90, 80, 160, 0.16));
  --phone: linear-gradient(160deg, #ffffff, #dcd8f5 60%, #f6f4ff);
  --phone-fx: 0 30px 60px rgba(70, 60, 150, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  --vs: radial-gradient(circle at 35% 28%, #ffffff, #dcd7f8 55%, #b4abe8);
  --dock: rgba(246, 245, 255, 0.94);
  color-scheme: light;
}
[data-theme=dark] {
  --ink: #eceaff; --ink-2: #c5c2e8; --muted: #a29fca;
  --line: rgba(255, 255, 255, 0.1); --soft-line: rgba(190, 180, 255, 0.15); --dash: rgba(190, 180, 255, 0.28);
  --accent: #9d8cff; --accent-text: #b8acff; --ok: #3fd39a;
  --bg: #07060d; --bg-img: url(/art/bg-noir-soft.webp);
  --wash: radial-gradient(ellipse 45% 50% at 18% 30%, rgba(143, 125, 255, 0.07), transparent 70%), linear-gradient(180deg, rgba(7, 6, 13, 0.12) 0%, transparent 30%, rgba(7, 6, 13, 0.66) 58%, rgba(7, 6, 13, 0.92) 100%);
  --glass: linear-gradient(180deg, rgba(30, 27, 48, 0.74), rgba(19, 17, 32, 0.6));
  --glass-solid: linear-gradient(180deg, rgba(27, 25, 43, 0.95), rgba(18, 16, 30, 0.92));
  --shadow: 0 10px 34px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  --lift: 0 18px 44px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  --cell: #1b1929; --row: rgba(157, 140, 255, 0.08); --pill: rgba(255, 255, 255, 0.06);
  --chrome: linear-gradient(180deg, #ffffff 0%, #e4e0ff 42%, #9f98d6 64%, #ece9ff 100%);
  --chrome-fx: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.5)) drop-shadow(0 8px 22px rgba(143, 125, 255, 0.22));
  --phone: linear-gradient(160deg, #22203a, #0c0b16 70%);
  --phone-fx: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(190, 180, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  --vs: radial-gradient(circle at 35% 28%, #5b5590, #24203f 60%, #15132a);
  --dock: rgba(13, 12, 24, 0.94);
  color-scheme: dark;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--ui); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); }
img, video, svg { max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(143, 125, 255, 0.32); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.kp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.kp-skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; }
.kp-skip:focus { top: 12px; }
.kp-world { position: fixed; inset: 0; z-index: 0; background: var(--bg) var(--bg-img) center 40% / cover no-repeat; }
.kp-world::after { content: ''; position: absolute; inset: 0; background: var(--wash); }
.kp-page { position: relative; z-index: 1; max-width: 1248px; margin: 0 auto; padding: 0 16px; overflow-x: clip; }
.kp-num, .kp-price, .kp-table { font-variant-numeric: tabular-nums; }
.kp-ic { flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kp-center { text-align: center; }

/* chrome lettering: the studio's silver headings */
.kp-h1, .kp-h2 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -0.035em; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; filter: var(--chrome-fx); text-wrap: balance; }
.kp-h1 { margin: 12px 0 16px; font-size: clamp(36px, 5vw, 60px); line-height: 1.03; }
.kp-h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.04; }
.kp-eyebrow { margin: 0 0 10px; color: var(--accent-text); font: 700 13px var(--ui); letter-spacing: 0.08em; text-transform: uppercase; }
.kp-head { max-width: 820px; margin: 0 auto 30px; text-align: center; }
.kp-head-left { margin-left: 0; text-align: left; }
.kp-sub { max-width: 680px; margin: 14px auto 0; color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.kp-head-left .kp-sub { margin-left: 0; }
.kp-lead { max-width: 600px; margin: 0 0 22px; color: var(--ink-2); font-size: 18px; line-height: 1.6; }
:is(.kp-answer-text, .kp-qa p, .kp-prose, .kp-note, .kp-sub, .kp-lead, .kp-card p, .kp-rules p) a { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:is(.kp-answer-text, .kp-qa p, .kp-prose, .kp-note, .kp-sub, .kp-lead, .kp-card p, .kp-rules p) a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 650; color: var(--ink); }

/* ---------- top bar ---------- */
.kp-nav { position: relative; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 12px; padding: 8px 8px 8px 14px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
.kp-logo { display: flex; color: var(--ink); }
.kp-lockup { display: block; fill: currentColor; }
.kp-links { order: 3; display: flex; flex: 1 0 100%; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 0 0 2px; }
.kp-links::-webkit-scrollbar { display: none; }
.kp-links a { flex: none; padding: 7px 12px; border-radius: 999px; background-color: var(--pill); color: var(--ink-2); font-size: 13.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.kp-links a[aria-current] { color: var(--ink); box-shadow: inset 0 0 0 1px var(--accent); }
.kp-nav-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.kp-signin { color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none; }
.kp-theme { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--soft-line); border-radius: 999px; background: transparent; color: var(--ink-2); cursor: pointer; transition: color 0.15s, border-color 0.15s; }
.kp-theme:hover { color: var(--ink); border-color: var(--accent); }
.kp-theme svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kp-sun, [data-theme=dark] .kp-moon { display: none; }
[data-theme=dark] .kp-sun { display: block; }
.kp-crumbs { margin: 18px 4px 0; color: var(--muted); font-size: 13px; }
.kp-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.kp-crumbs li + li::before { content: '/'; margin-right: 6px; opacity: 0.5; }
.kp-crumbs a { color: var(--ink-2); text-decoration: none; }
:is(.kp-crumbs, .kp-foot) a, .kp-signin { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.15s, color 0.15s; }
:is(.kp-crumbs, .kp-foot) a:hover, .kp-signin:hover { background-size: 100% 1px; color: var(--ink); }

/* ---------- buttons ---------- */
.kp-go { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 8px 22px 8px 26px; border-radius: 16px; background: var(--go-btn); color: #fff; font: 600 16.5px/1.25 var(--ui); text-align: center; text-decoration: none; text-shadow: 0 1px 2px rgba(45, 35, 130, 0.45); box-shadow: 0 8px 24px rgba(130, 120, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.45); transition: transform 0.15s, box-shadow 0.2s, filter 0.2s; }
.kp-go::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.5) 50%, transparent 65%); transform: translateX(-120%); animation: kp-sheen 6s ease-in-out infinite; pointer-events: none; }
.kp-go:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 12px 32px rgba(130, 120, 255, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.kp-go .kp-ic { transition: transform 0.25s; }
.kp-go:hover .kp-ic, .kp-more:hover .kp-ic, .kp-link-card:hover .kp-ic { transform: translateX(3px); }
.kp-go-sm { min-height: 40px; padding: 4px 14px; border-radius: 13px; font-size: 14px; gap: 6px; }
.kp-go-wide { display: flex; width: 100%; }
.kp-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 8px 22px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); font-weight: 600; text-decoration: none; transition: transform 0.15s, border-color 0.15s; }
.kp-ghost:hover { transform: translateY(-1px); border-color: var(--accent); }
.kp-ghost-sm { min-height: 44px; border-radius: 13px; font-size: 14px; }
@keyframes kp-sheen { 0%, 78% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* ---------- hero ---------- */
.kp-hero { display: grid; gap: 40px; align-items: center; padding: 26px 0 0; }
.kp-hero-copy { min-width: 0; }
.kp-answer { max-width: 620px; margin: 0 0 24px; padding: 16px 18px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow); }
.kp-live { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 12px; padding: 5px 12px 5px 10px; border-radius: 999px; background: rgba(60, 207, 142, 0.12); border: 1px solid rgba(60, 207, 142, 0.34); color: var(--ink-2); font: 600 13px var(--ui); font-variant-numeric: tabular-nums; }
.kp-live b { color: var(--ink); font: 650 16px var(--display); letter-spacing: -0.01em; }
.kp-live small { color: var(--muted); font-size: 12px; font-weight: 500; }
.kp-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #3ccf8e; box-shadow: 0 0 0 0 rgba(60, 207, 142, 0.6); animation: kp-ping 2s infinite; }
@keyframes kp-ping { 70% { box-shadow: 0 0 0 9px rgba(60, 207, 142, 0); } 100% { box-shadow: 0 0 0 0 rgba(60, 207, 142, 0); } }
.kp-answer-text { margin: 0; font-size: 16.5px; line-height: 1.6; }
.kp-answer-meta { margin: 10px 0 0; color: var(--muted); font-size: 12.5px; }
.kp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 12px; }
.kp-actions > * { flex: 1 1 100%; }
.kp-cards + .kp-actions { margin-top: 20px; justify-content: center; }
.kp-micro { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.kp-signed { margin: 6px 0 0; color: var(--ink-2); font-size: 13.5px; }
.kp-signed a { color: var(--accent-text); font-weight: 600; }
.kp-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 14px; }
.kp-points li { display: flex; align-items: center; gap: 6px; }
.kp-points .kp-ic, .kp-ticks .kp-ic { color: var(--ok); }
.kp-hero-media { position: relative; isolation: isolate; display: flex; justify-content: center; min-width: 0; }
.kp-hero-media::before { content: ''; position: absolute; inset: 6% 4%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(143, 125, 255, 0.4), rgba(140, 196, 255, 0.16) 60%, transparent); filter: blur(28px); }

/* the live price board */
.kp-board { width: 100%; max-width: 460px; padding: 16px 14px 12px; border: 1px solid transparent; border-radius: 26px; background: var(--glass-solid) padding-box, var(--ring) border-box; box-shadow: 0 24px 60px rgba(90, 80, 190, 0.22); }
.kp-board-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 8px 8px; color: var(--muted); font: 600 12.5px var(--ui); font-variant-numeric: tabular-nums; }
.kp-board-title { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font: 600 16px var(--display); letter-spacing: -0.01em; }
.kp-board ul { margin: 0; padding: 0; list-style: none; }
.kp-board-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 10px; border-top: 1px solid var(--soft-line); border-radius: 12px; color: inherit; text-decoration: none; transition: background-color 0.15s; }
a.kp-board-row:hover { background-color: var(--row); }
.kp-board-name { display: grid; gap: 1px; font-size: 15px; font-weight: 600; }
.kp-board-name small { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.kp-board-note { margin: 8px 10px 4px; color: var(--muted); font-size: 12px; line-height: 1.45; }

/* ---------- prices ---------- */
.kp-price { display: inline-grid; justify-items: end; line-height: 1.15; }
.kp-eur { color: var(--ink); font-size: 15.5px; font-weight: 600; }
.kp-tok { color: var(--muted); font-size: 12px; font-weight: 500; }
.kp-price-lg .kp-eur { font: 600 22px/1.1 var(--display); letter-spacing: -0.02em; }
.kp-na { color: var(--muted); opacity: 0.6; }

/* ---------- the phone frame ---------- */
.kp-phone { width: min(300px, 78vw); margin: 0; padding: 9px; border-radius: 34px; background: var(--phone); box-shadow: var(--phone-fx); transition: transform 0.25s; }
.kp-phone:hover, .kp-card:hover { transform: translateY(-2px); }
.kp-screen { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 26px; background: #120f24; }
.kp-screen video, .kp-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kp-ai-tag { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(10, 8, 28, 0.62); color: #fff; font: 700 11px var(--ui); letter-spacing: 0.02em; pointer-events: none; }
.kp-play { position: absolute; inset: 0; display: grid; place-items: center; margin: auto; width: 56px; height: 56px; padding-left: 3px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: #5b48e6; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3); pointer-events: none; transition: opacity 0.2s; }
.kp-play .kp-ic { fill: currentColor; stroke: none; }
.kp-screen:hover .kp-play { opacity: 0; }

/* ---------- sections ---------- */
.kp-main { display: block; }
.kp-sec { margin-top: 56px; padding: 8px 0 24px; }
.kp-sec-tight { margin-top: 20px; }
.kp-stack { display: grid; gap: 18px; }
.kp-note { margin: 12px 4px 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; }

/* cards */
.kp-card { padding: 22px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s; }
.kp-card:hover { box-shadow: var(--lift); }
.kp-card h3 { margin: 0 0 6px; font-size: 17.5px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.kp-card p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.kp-ic-wrap { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(179, 163, 255, 0.3), rgba(140, 196, 255, 0.2)); box-shadow: inset 0 0 0 1px rgba(143, 125, 255, 0.28); color: var(--accent-text); }
.kp-art-dark, [data-theme=dark] .kp-art-light { display: none; }
[data-theme=dark] .kp-art-dark { display: inline-block; }
.kp-art { flex: none; object-fit: contain; }
.kp-risk, .kp-steps, .kp-cards, .kp-related, .kp-plans, .kp-ideas, .kp-strip { margin: 0; padding: 0; list-style: none; }
.kp-risk, .kp-steps, .kp-plans { display: grid; gap: 14px; }
.kp-cards, .kp-related, .kp-ideas { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.kp-steps li { position: relative; }
.kp-step-n { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; background: var(--go-btn); color: #fff; font: 700 18px var(--display); box-shadow: 0 8px 20px rgba(130, 120, 255, 0.4); }
.kp-step-art { position: absolute; top: 14px; right: 14px; }
.kp-tile { display: flex; flex-direction: column; gap: 8px; height: 100%; color: var(--ink); text-decoration: none; }
.kp-tile h3 { margin: 0; }
.kp-tile-price { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.kp-tile-price .kp-price, .kp-today .kp-price { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.kp-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; color: var(--accent-text); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.kp-more .kp-ic { transition: transform 0.25s; }
.kp-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.kp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--soft-line); background: var(--pill); color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.kp-pill-sm { padding: 3px 10px; font-size: 12px; gap: 6px; }
.kp-pills-sm { justify-content: flex-start; gap: 6px; }

/* ---------- tables ---------- */
.kp-tcard { overflow: hidden; border-radius: 20px; background: var(--glass-solid); border: 1px solid var(--line); box-shadow: var(--shadow); }
.kp-tcard > .kp-note { margin: 12px 18px 16px; }
.kp-scroll { overflow-x: auto; overscroll-behavior-x: contain; }
.kp-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.kp-table caption { padding: 18px 18px 10px; color: var(--ink); font: 600 17px var(--display); letter-spacing: -0.01em; text-align: left; }
.kp-table caption small { display: block; margin-top: 2px; color: var(--muted); font: 500 13px var(--ui); letter-spacing: 0; }
.kp-table th, .kp-table td { padding: 12px 14px; border-top: 1px solid var(--soft-line); text-align: left; vertical-align: middle; }
.kp-table thead th { padding-top: 4px; border-top: 0; color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.kp-table tbody th { min-width: 150px; color: var(--ink); font-weight: 600; }
.kp-table th small, .kp-table td small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.35; }
.kp-table tr > :first-child { padding-left: 18px; }
@media (max-width: 859px) { .kp-table tr > :first-child { position: sticky; left: 0; z-index: 1; background-color: var(--cell); box-shadow: 1px 0 0 var(--soft-line); } }
.kp-table tr > :last-child { padding-right: 18px; }
.kp-table tbody tr:hover > * { background-image: linear-gradient(var(--row), var(--row)); }
.kp-table .kp-r { text-align: right; white-space: nowrap; }
.kp-table .kp-group th { padding-top: 18px; padding-bottom: 8px; border-top: 0; color: var(--accent-text); font: 700 12px var(--ui); letter-spacing: 0.08em; text-transform: uppercase; }
.kp-table .kp-group:hover > * { background-image: none; }
.kp-table tbody tr:not(.kp-group) + tr.kp-group th { border-top: 1px solid var(--soft-line); }
.kp-cell { font-weight: 600; color: var(--ink); }
.kp-table td.kp-best { background-image: linear-gradient(rgba(143, 125, 255, 0.1), rgba(143, 125, 255, 0.1)); box-shadow: inset 0 0 0 1.5px var(--accent); border-radius: 12px; }
.kp-flag { display: block; width: max-content; margin: 0 0 3px auto; padding: 1px 7px; border-radius: 999px; background: var(--go-btn); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.kp-table small.kp-unoff { max-width: 240px; white-space: normal; }
.kp-unoff::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #e3a23b; vertical-align: 1px; }
.kp-table small.kp-unit { white-space: nowrap; }
.kp-tool { display: inline-flex; align-items: center; gap: 10px; }
.kp-tool .kp-narrow { margin-top: 4px; }
.kp-tool small.kp-narrow { max-width: 200px; white-space: normal; }
@media (max-width: 759px) { .kp-table .kp-wide { display: none; } .kp-table thead th, .kp-table thead .kp-r { white-space: normal; } }
@media (min-width: 760px) { .kp-table .kp-narrow { display: none; } }
.kp-tool a, .kp-table tbody th a { color: inherit; text-decoration: none; }
.kp-tool a:hover, .kp-table tbody th a:hover { color: var(--accent-text); }
.kp-others .kp-eur { color: var(--muted); font-weight: 500; }
.kp-table-tools td:not(.kp-r) { min-width: 150px; color: var(--ink-2); font-size: 13.5px; }

/* what money buys */
.kp-bars ul { display: grid; gap: 16px; margin: 0; padding: 20px 18px 6px; list-style: none; }
.kp-bars li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'l n' 'b b'; align-items: end; gap: 7px 12px; }
.kp-bar-label { grid-area: l; font-size: 14.5px; font-weight: 600; }
.kp-bar-label small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.kp-bar { grid-area: b; height: 12px; overflow: hidden; border-radius: 999px; background: rgba(120, 110, 190, 0.15); }
.kp-bar i { display: block; height: 100%; border-radius: inherit; background: var(--go); box-shadow: 0 0 14px rgba(143, 125, 255, 0.5); transform-origin: left; animation: kp-grow 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.kp-bar-n { grid-area: n; font: 600 16px var(--display); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
@keyframes kp-grow { from { transform: scaleX(0); } }

/* the receipt */
.kp-receipt { max-width: 440px; margin: 0 auto; padding: 20px 24px 24px; border-radius: 22px; background: var(--glass-solid); border: 1px solid var(--line); box-shadow: var(--shadow); }
.kp-receipt-top { display: flex; justify-content: space-between; margin: 0; padding-bottom: 12px; border-bottom: 1px dashed var(--dash); color: var(--muted); font: 600 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.kp-receipt ul { margin: 0; padding: 0; list-style: none; }
.kp-receipt li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--dash); font-weight: 600; }
.kp-receipt li small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.kp-receipt .kp-price { flex: none; white-space: nowrap; }
.kp-receipt-total { display: flex; align-items: baseline; justify-content: space-between; margin: 14px 0 0; font: 700 18px var(--display); }
.kp-receipt-total .kp-eur { font: 700 28px var(--display); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.kp-receipt .kp-note { margin: 10px 0 18px; }

/* rules, log, notice */
.kp-rules { max-width: 820px; margin: 0 auto; padding: 6px 22px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); border-left: 3px solid var(--accent); box-shadow: var(--shadow); }
.kp-rules ul { margin: 0; padding: 0; list-style: none; }
.kp-rules li { padding: 14px 0; border-top: 1px solid var(--soft-line); }
.kp-rules li:first-child { border-top: 0; }
.kp-rules p { margin: 0; font-size: 15px; line-height: 1.55; }
.kp-rules small { color: var(--muted); font-size: 12.5px; }
.kp-log { max-width: 720px; margin: 0 auto; padding: 0; border-left: 2px solid var(--soft-line); list-style: none; }
.kp-log li { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 10px 0 10px 20px; }
.kp-log li::before { content: ''; position: absolute; left: -6px; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(143, 125, 255, 0.2); }
.kp-log time { min-width: 100px; color: var(--muted); font: 600 13px var(--mono); }
.kp-log .kp-price { display: inline-flex; gap: 6px; align-items: baseline; }
.kp-was { color: var(--muted); }
.kp-notice { margin: 18px 0 0; padding: 14px 18px; border-radius: 16px; background: rgba(227, 162, 59, 0.12); border: 1px solid rgba(227, 162, 59, 0.42); }
.kp-notice p { margin: 0; }
.kp-notice p + p { margin-top: 6px; }

/* FAQ: every answer in plain sight */
.kp-faq { display: grid; gap: 14px; }
.kp-qa { padding: 20px 22px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow); }
.kp-qa h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.kp-qa p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.65; }

/* related */
.kp-link-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; height: 100%; padding: 16px 18px; color: var(--ink); text-decoration: none; }
.kp-link-card b { font: 600 15.5px var(--display); }
.kp-link-card small { grid-row: 2; color: var(--muted); font-size: 13px; }
.kp-link-card .kp-ic { grid-row: 1 / span 2; grid-column: 2; color: var(--accent-text); transition: transform 0.25s; }

/* plans */
.kp-plan { display: flex; flex-direction: column; gap: 6px; padding: 24px; }
.kp-plan-top { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.kp-plan-top h3 { margin: 0; font-size: 22px; }
.kp-plan-price { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 0; }
.kp-plan-price b { font: 600 44px/1 var(--display); letter-spacing: -0.03em; }
.kp-plan-price span, .kp-plan-year { color: var(--muted); font-size: 14px; }
.kp-plan-year { margin: 0; }
.kp-plan-lite { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 11px 13px; border-radius: 14px; background: linear-gradient(135deg, rgba(179, 163, 255, 0.2), rgba(140, 196, 255, 0.14)); box-shadow: inset 0 0 0 1px rgba(143, 125, 255, 0.22); color: var(--ink); font-size: 14px; }
.kp-plan-lite b { display: block; font-weight: 650; }
.kp-plan-lite small { display: block; color: var(--muted); font-size: 12.5px; }
.kp-plan-lite .kp-ic { color: var(--accent-text); }
.kp-plan-hot { border: 1px solid transparent; background: var(--glass-solid) padding-box, var(--ring) border-box; box-shadow: 0 20px 50px rgba(110, 100, 255, 0.22); }
.kp-ticks { display: grid; gap: 9px; margin: 12px 0 18px; padding: 0; list-style: none; }
.kp-ticks li { display: flex; gap: 9px; color: var(--ink); font-size: 14px; line-height: 1.45; }
.kp-ticks .kp-ic { margin-top: 2px; }
.kp-plan > .kp-ghost, .kp-plan > .kp-go { margin-top: auto; }

/* code */
.kp-code { max-width: 760px; margin: 0 auto; overflow: hidden; border-radius: 18px; background: #0f0d1f; border: 1px solid rgba(190, 180, 255, 0.2); box-shadow: 0 18px 40px rgba(20, 16, 60, 0.25); }
.kp-code-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 9px 10px 9px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: #b9b4e6; font-size: 12.5px; font-weight: 600; }
.kp-code pre { margin: 0; padding: 16px 18px 18px; overflow-x: auto; color: #ece9ff; font: 13.5px/1.65 var(--mono); }
.kp-copy { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 10px; background: rgba(255, 255, 255, 0.06); color: #e9e6ff; font: 600 12.5px var(--ui); cursor: pointer; }
.kp-copy:hover { background: rgba(255, 255, 255, 0.14); }
.kp-ideas .kp-copy { border-color: var(--soft-line); background: transparent; color: var(--ink-2); }

/* samples */
.kp-strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(250px, 72vw); gap: 18px; overflow-x: auto; padding: 4px 2px 16px; scroll-snap-type: x mandatory; }
.kp-sample { scroll-snap-align: start; }
.kp-sample .kp-phone { width: 100%; }
.kp-cap { margin-top: 12px; padding: 14px 16px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); }
.kp-cap-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; }
.kp-cap-top small { color: var(--muted); font-size: 12.5px; }
.kp-prompt { display: -webkit-box; margin: 0 0 8px; overflow: hidden; color: var(--ink-2); font: 12.5px/1.55 var(--mono); -webkit-line-clamp: 2; -webkit-box-orient: vertical; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.kp-today { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0; color: var(--ink-2); font-size: 13.5px; }
.kp-split { display: grid; justify-items: center; gap: 16px; }
.kp-side { display: grid; justify-items: center; gap: 8px; }
.kp-side-name { margin: 6px 0 0; font: 600 18px var(--display); }
.kp-side-a .kp-side-name { color: var(--accent-text); }
.kp-side-b .kp-side-name { color: var(--ink-2); }
.kp-side a { color: inherit; }
.kp-vs { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--vs); box-shadow: 0 10px 26px rgba(80, 70, 170, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.6); color: var(--ink); font: 700 18px var(--display); }
.kp-prompt-wide { display: block; max-width: 760px; margin: 18px auto 0; padding: 14px 18px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); -webkit-mask-image: none; mask-image: none; }
.kp-prompt-wide span { display: block; margin-bottom: 4px; color: var(--muted); font: 700 11px var(--ui); letter-spacing: 0.08em; text-transform: uppercase; }
.kp-prompt-wide + .kp-note { max-width: 760px; margin: 10px auto 0; text-align: center; }

/* prose and ideas */
.kp-prose { max-width: 760px; margin: 0 auto; }
.kp-prose p { margin: 0 0 16px; color: var(--ink-2); font-size: 17px; line-height: 1.75; }
.kp-ideas li { display: flex; flex-direction: column; }
.kp-ideas p { flex: 1; margin: 0 0 14px; color: var(--ink); font: 600 16px/1.45 var(--display); }
.kp-ideas p::before { content: '\201C'; margin-right: 2px; color: var(--accent-text); }
.kp-ideas p::after { content: '\201D'; color: var(--accent-text); }
.kp-idea-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* the closing call */
.kp-band { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; gap: 14px; margin: 72px 0 0; padding: 52px 22px; border-radius: 30px; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.kp-band::before { content: ''; position: absolute; inset: -40% -10% auto; z-index: -1; height: 120%; background: radial-gradient(closest-side, rgba(143, 125, 255, 0.28), transparent), radial-gradient(closest-side at 80% 60%, rgba(140, 196, 255, 0.2), transparent); }
.kp-band .kp-lead { margin: 0 auto; }
.kp-band .kp-h2 { max-width: 760px; }
.kp-band .kp-micro, .kp-band .kp-signed { max-width: 560px; }

/* render.js: a paused page's note, and the small 404 page under the site's paths */
.kp-paused { margin: 18px 0 0; padding: 14px 18px; border-radius: 16px; background: rgba(227, 162, 59, 0.12); border: 1px solid rgba(227, 162, 59, 0.42); }
.kp-paused p { margin: 0; }
.kp-paused a { color: var(--accent-text); font-weight: 600; }
.kp-missing { max-width: 560px; margin: 12vh auto; padding: 0 20px; }
.kp-missing .kp-section { padding: 32px; border-radius: 24px; background: var(--glass-solid); border: 1px solid var(--line); box-shadow: var(--shadow); }
.kp-missing h1 { margin: 0 0 10px; font: 600 30px/1.15 var(--display); letter-spacing: -0.02em; }
.kp-missing p { color: var(--ink-2); }
.kp-missing ul { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.kp-missing a { color: var(--accent-text); font-weight: 600; }

/* ---------- the page types' own pieces (types/*.js, blocks.js) ---------- */
/* sources under a guide or a rules box */
.kp-sources { max-width: 820px; margin: 0 auto; padding: 0 0 0 22px; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.kp-sources li { padding: 6px 0 6px 4px; }
.kp-sources li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
.kp-sources a { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.kp-sources small { color: var(--muted); font-size: 12.5px; }
.kp-tile-art { display: flex; margin-bottom: 4px; }
.kp-band-price { margin: 0; display: grid; justify-items: center; gap: 2px; }
.kp-band-label { font-size: 13px; color: var(--muted); }
.kp-arrow { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* a hub's cards with their lead sample's poster (types/hub.js), and the product stills */
.kp-tile-row { flex-direction: row; align-items: flex-start; gap: 14px; }
.kp-cards:has(> li > .kp-tile-row) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.kp-tile-thumb { position: relative; flex: none; display: block; }
.kp-tile-poster { display: block; flex: none; width: 72px; height: 128px; border-radius: 12px; background: var(--cell); object-fit: cover; }
.kp-ai-tag-sm { top: 5px; left: 5px; padding: 2px 6px; font-size: 9.5px; }
.kp-tile-body { display: flex; flex: 1; flex-direction: column; gap: 6px; min-width: 0; height: 100%; }
.kp-cards:has(> .kp-still) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.kp-still { padding: 12px; }
.kp-still img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 12px; object-fit: cover; }
.kp-still p { margin: 10px 2px 2px; color: var(--ink); font-weight: 600; }
/* a watch page's extra clips, centred (types/example.js) */
.kp-phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
/* a watch page's input photo (types/example.js) */
.kp-input-fig { max-width: 420px; margin: 0 auto; padding: 14px; }
.kp-input-fig img { display: block; width: 100%; height: auto; border-radius: 14px; }
/* a tool page's hero: what goes in → what comes out (types/tool.js) */
.kp-io { display: grid; grid-template-columns: minmax(0, 0.85fr) auto minmax(0, 1fr); align-items: center; gap: 12px; width: min(540px, 100%); margin: 0; }
.kp-io > .kp-note { grid-column: 1 / -1; margin: 4px 0 0; text-align: center; }
.kp-io-arrow { width: 44px; height: 44px; }
.kp-io-in, .kp-io-out { display: grid; gap: 10px; min-width: 0; border-radius: 22px; }
.kp-io-in { position: relative; align-content: start; padding: 12px; }
.kp-io-in .kp-ai-tag { top: 18px; left: 18px; }
.kp-io-out { padding: 16px; }
.kp-io-in img, .kp-io-still img { display: block; width: 100%; height: auto; border-radius: 14px; }
.kp-io .kp-eyebrow { margin: 0; font-size: 11.5px; }
.kp-io-link { margin: 0; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--soft-line); background: var(--pill); color: var(--ink-2); font: 600 12px/1.4 var(--mono); overflow-wrap: anywhere; }
.kp-io-in .kp-io-line { margin: 0; color: var(--ink-2); font: 500 13px/1.45 var(--ui); }
.kp-io-out .kp-io-line { margin: 0; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--soft-line); background: var(--pill); color: var(--ink); font: 600 14px/1.4 var(--ui); }
.kp-io-line small { display: block; color: var(--accent-text); font: 700 11px var(--ui); letter-spacing: 0.06em; text-transform: uppercase; }
.kp-io-still { position: relative; display: block; padding: 10px; }
.kp-io-still .kp-ai-tag { top: 18px; left: 18px; }
.kp-io-subs { position: absolute; left: 6%; right: 6%; bottom: 24%; margin: 0; color: var(--kp-subs, #fff); font: 900 clamp(15px, 4.6vw, 26px)/1.12 var(--display); letter-spacing: 0.01em; text-align: center; text-transform: uppercase; text-shadow: 0 3px 8px rgba(0, 0, 0, 0.45); -webkit-text-stroke: 1.6px var(--kp-subs-edge, #000); paint-order: stroke fill; overflow-wrap: anywhere; }
.kp-io-said { color: var(--kp-subs-said, #ffe500); }

/* a text table (blocks.js dataTable stack: true) reads as one card per row on phones, each cell under its column's name */
@media (max-width: 759px) {
  .kp-table-stack, .kp-table-stack tbody, .kp-table-stack tr, .kp-table-stack th, .kp-table-stack td { display: block; }
  .kp-table-stack caption { display: block; }
  .kp-table-stack .kp-price { justify-items: start; }
  .kp-table-stack td .kp-cell { font-weight: 500; }
  .kp-table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .kp-table-stack tbody tr { padding: 12px 18px 14px; border-top: 1px solid var(--soft-line); }
  .kp-table-stack th, .kp-table-stack td, .kp-table-stack .kp-r { padding: 0; border-top: 0; text-align: left; white-space: normal; }
  .kp-table-stack tr > :first-child, .kp-table-stack tr > :last-child { position: static; padding-left: 0; padding-right: 0; background-color: transparent; box-shadow: none; }
  .kp-table-stack tbody th { min-width: 0; margin-bottom: 8px; font-size: 15px; }
  .kp-table-stack td + td { margin-top: 10px; }
  .kp-table-stack td[data-col]::before { content: attr(data-col); display: block; margin-bottom: 2px; color: var(--accent-text); font: 700 11px var(--ui); letter-spacing: 0.06em; text-transform: uppercase; }
  .kp-table-stack td.kp-best { padding: 8px 10px; }
  .kp-table-stack .kp-flag { margin: 0 0 3px; }
}
/* a compare pair stays side by side on phones: two small phones, the vs badge on the seam */
@media (max-width: 759px) {
  .kp-split { position: relative; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; }
  .kp-split > .kp-vs { position: absolute; top: 38%; left: 50%; z-index: 2; width: 40px; height: 40px; font-size: 14px; transform: translate(-50%, -50%); }
  .kp-split .kp-phone { width: 100%; padding: 6px; border-radius: 24px; }
  .kp-split .kp-screen { border-radius: 19px; }
  .kp-split .kp-side { width: 100%; }
  .kp-split .kp-side-name { font-size: 15px; text-align: center; }
  .kp-split .kp-today { justify-content: center; }
}

/* ---------- footer and the phones' bar ---------- */
.kp-foot { margin-top: 80px; padding: 34px 0 26px; border-top: 1px solid var(--soft-line); color: var(--muted); font-size: 13px; }
.kp-foot-top { display: flex; flex-wrap: wrap; gap: 28px 40px; }
.kp-foot-brand { flex: 1 1 100%; max-width: 440px; }
.kp-foot-brand p { margin: 12px 0 0; line-height: 1.6; }
.kp-foot-col { flex: 1 1 140px; }
.kp-foot h2 { margin: 0 0 10px; color: var(--ink-2); font: 600 12px var(--ui); letter-spacing: 0.08em; text-transform: uppercase; }
.kp-foot ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.kp-foot a { color: var(--muted); text-decoration: none; }
.kp-foot a[aria-current] { color: var(--ink); }
.kp-foot-vat { color: var(--ink-2); font-weight: 600; }
.kp-foot-tm { margin: 26px 0 0; font-size: 12px; line-height: 1.5; }
.kp-foot-copy { margin: 6px 0 0; font-size: 12px; }
.kp-dock { position: sticky; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 -16px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--dock); border-top: 1px solid var(--soft-line); box-shadow: 0 -10px 30px rgba(40, 30, 110, 0.14); }
.kp-dock p { margin: 0; color: var(--ink); font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.kp-dock .kp-go { flex: none; }
@supports (animation-timeline: scroll()) {
  .kp-dock { animation: kp-dock linear both; animation-timeline: scroll(root); animation-range: 0 360px; }
  @keyframes kp-dock { from { opacity: 0; visibility: hidden; transform: translateY(100%); } to { opacity: 1; visibility: visible; transform: none; } }
}

/* ---------- wider screens ---------- */
@media (min-width: 560px) {
  .kp-actions > * { flex: 0 1 auto; }
  .kp-risk { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
  .kp-page { padding: 0 24px; }
  .kp-sec { margin-top: 96px; padding: 8px 0 28px; }
  .kp-sec-tight { margin-top: 24px; }
  .kp-band { margin-top: 96px; padding: 64px 32px; }
  .kp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kp-steps:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kp-bars li { grid-template-columns: minmax(160px, 240px) 1fr 120px; grid-template-areas: 'l b n'; align-items: center; }
  .kp-bars ul { padding: 22px 24px 8px; }
  .kp-split { grid-template-columns: minmax(0, 300px) auto minmax(0, 300px); justify-content: center; align-items: center; gap: 16px 40px; }
  .kp-table th, .kp-table td { padding: 13px 18px; }
  .kp-table tr > :first-child { padding-left: 22px; }
  .kp-table tr > :last-child { padding-right: 22px; }
  .kp-table caption { padding: 20px 22px 10px; }
  .kp-tcard > .kp-note { margin: 12px 22px 18px; }
  .kp-foot-brand { flex: 1.6 1 300px; }
}
@media (min-width: 860px) {
  .kp-nav { position: sticky; top: 14px; flex-wrap: nowrap; padding: 10px 12px 10px 18px; }
  .kp-links { order: 0; flex: 0 1 auto; gap: 2px; margin: 0 auto; overflow: visible; padding: 0; }
  .kp-links a { padding: 8px 12px; background-color: transparent; color: var(--ink-2); font-size: 14.5px; font-weight: 500; }
  .kp-links a:hover { background-color: var(--pill); color: var(--ink); }
  .kp-links a[aria-current] { box-shadow: none; background-color: var(--pill); color: var(--ink); font-weight: 600; }
  .kp-nav-end { margin-left: 0; gap: 12px; }
  .kp-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px 18px; }
  .kp-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kp-dock { display: none; }
}
@media (min-width: 960px) {
  .kp-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; padding-top: 46px; }
  .kp-hero-solo { grid-template-columns: minmax(0, 820px); }
  .kp-risk { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .kp-risk > li { grid-column: span 2; }
  .kp-risk > li:nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
  .kp-risk > li:nth-child(3n+1):last-child { grid-column: 3 / span 2; }
  .kp-risk:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kp-risk:has(> li:nth-child(4):last-child) > li { grid-column: auto; }
  /* a strip of one or two keeps phone-sized cards, centred, instead of stretching one card across the page */
  .kp-strip { grid-auto-columns: minmax(230px, 280px); justify-content: safe center; }
}
@media (min-width: 1100px) {
  .kp-steps:has(> li:nth-child(4):last-child), .kp-risk:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 400px) {
  .kp-signin { display: none; }
  .kp-h1 { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .kp-dock { opacity: 1; visibility: visible; transform: none; }
}
@media print {
  .kp-world, .kp-nav, .kp-dock, .kp-go, .kp-ghost, .kp-theme { display: none !important; }
  .kp-h1, .kp-h2 { color: #000; background: none; filter: none; }
}
