/* ============================================================
   Marketing pages (features, pricing, integrations, industries,
   comparisons, company). Markup: inc/marketing-render.php.
   ============================================================ */

.kp-page { background: var(--snow); }
.kp-muted { color: #a1a1aa; font-weight: 400; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Hero ---------- */
.kp-hero { padding: 56px 24px 80px; background: var(--snow); }
.kp-hero-inner { max-width: 1200px; margin: 0 auto; }
.kp-hero-split .kp-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.kp-hero:not(.kp-hero-split) .kp-hero-copy { max-width: 800px; margin: 0 auto; text-align: center; }
.kp-hero:not(.kp-hero-split) .kp-crumbs ol,
.kp-hero:not(.kp-hero-split) .kp-ctas { justify-content: center; }
.kp-hero:not(.kp-hero-split) .kp-lede { margin-left: auto; margin-right: auto; }
.kp-crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--ash); }
.kp-crumbs li + li::before { content: "/"; margin-right: 6px; color: #d4d4d8; }
.kp-crumbs a { color: var(--ash); }
.kp-crumbs a:hover { color: var(--ink); }
.kp-h1 { margin: 12px 0 0; font-weight: 600; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -.04em; color: var(--ink); text-wrap: balance; }
.kp-lede { margin: 20px 0 0; font-size: 17.5px; line-height: 1.6; color: var(--slate); max-width: 52ch; }
.kp-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.kp-btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--mist); }
.kp-btn-ghost:hover { color: var(--ink); border-color: #d4d4d8; }
.kp-note { margin-top: 14px; font-size: 12.5px; color: var(--ash); }

/* hero + split visuals */
.kp-visual { position: relative; }
.kp-visual-photo, .kp-visual-logo { padding-left: 44px; }
.kp-shot { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--mist); }
.kp-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kp-visual .kp-chat { left: 0; bottom: 32px; }
.kp-visual-chat { padding: 56px 32px; border-radius: 28px; background: radial-gradient(circle at 25% 15%, #dbe7ff 0, rgba(219,231,255,0) 55%), linear-gradient(150deg, #eaf2ff 0%, #f4f4f5 75%); border: 1px solid var(--cloud); display: flex; justify-content: center; }
.kp-visual-chat .kp-chat { position: relative; left: auto; bottom: auto; }

.kp-connect { aspect-ratio: 4 / 4.4; border-radius: 28px; border: 1px solid var(--cloud); background: radial-gradient(circle at 70% 20%, #dbe7ff 0, rgba(219,231,255,0) 50%), linear-gradient(160deg, #eaf2ff 0%, #f4f4f5 72%); display: flex; align-items: flex-start; justify-content: center; padding-top: 18%; }
.kp-connect-tile { width: 96px; height: 96px; flex: none; border-radius: 26px; background: #fff; box-shadow: 0 20px 40px -18px rgba(9,9,11,.3), 0 0 0 1px rgba(9,9,11,.05); display: grid; place-items: center; }
.kp-connect-tile img { width: 52px; height: 52px; object-fit: contain; display: block; }
.kp-connect-line { position: relative; width: 84px; height: 2px; margin-top: 47px; background: repeating-linear-gradient(90deg, #93b4f5 0 6px, transparent 6px 12px); }
.kp-connect-line i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.15); animation: kpTravel 2.6s ease-in-out infinite; }
@keyframes kpTravel { 0%, 100% { left: 0; } 50% { left: calc(100% - 8px); } }

/* comparison summary card */
.kp-vs { background: #fff; border: 1px solid var(--cloud); border-radius: 24px; box-shadow: 0 30px 70px -32px rgba(9,9,11,.35); overflow: hidden; }
.kp-vs-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 12px; align-items: center; padding: 16px 22px; border-top: 1px solid var(--cloud); font-size: 14px; color: var(--slate); font-variant-numeric: tabular-nums; }
.kp-vs-head { border-top: 0; background: var(--snow); font-size: 13px; }
.kp-vs-row .kp-vs-us { color: var(--blue-dark); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.kp-vs-head .kp-vs-us { color: var(--ink); }
.kp-vs-head img { width: 22px; height: 22px; border-radius: 50%; display: block; }
.kp-vs-them { color: var(--ash); }
.kp-vs-head .kp-vs-them { color: var(--ink); font-weight: 600; }
.kp-vs-foot { padding: 12px 22px; font-size: 11.5px; color: var(--ash); background: var(--snow); border-top: 1px solid var(--cloud); }

/* chat mock-up extras (base styles in shared.css) */
.kp-chat-mark { display: grid !important; place-items: center; color: #fff; font-size: 12px; font-weight: 600; }
.kp-chat-name { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.kp-chat-sub { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--ash); }
.kp-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; flex: none; }
.kp-chat-role { color: #a1a1aa; font-weight: 400; }
.kp-chat-card { border: 1px solid var(--cloud); border-radius: 14px; padding: 10px 12px; font-size: 12px; display: flex; flex-direction: column; gap: 6px; max-width: 88%; }
.kp-chat-card-title { font-weight: 600; color: var(--ink); }
.kp-chat-card-row { display: flex; justify-content: space-between; gap: 12px; color: var(--ash); }
.kp-chat-card-row b { font-weight: 500; color: var(--ink); font-family: var(--mono); font-size: 11.5px; }
.kp-chat-chips { display: flex; gap: 6px; }
.kp-chat-chips span { flex: 1; text-align: center; border: 1px solid var(--mist); border-radius: 10px; padding: 6px 4px; font-family: var(--mono); font-size: 11px; color: var(--ink); white-space: nowrap; }
.kp-chat-chips span.is-on { border-color: var(--blue); background: var(--blue-tint); color: var(--blue-dark); }

/* ---------- Sections ---------- */
.kp-sec { padding: 96px 24px; }
.kp-sec-white { background: #fff; border-top: 1px solid var(--cloud); }
.kp-sec-snow { background: var(--snow); }
.kp-wrap { max-width: 1200px; margin: 0 auto; }
.kp-head { max-width: 720px; margin-bottom: 44px; }
.kp-h2 { margin: 10px 0 0; font-weight: 600; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.kp-head .kp-h2:first-child { margin-top: 0; }
.kp-intro { margin: 14px 0 0; font-size: 16px; line-height: 1.6; color: var(--slate); max-width: 58ch; }

/* cards sit on the opposite tone of their section */
.kp-feature, .kp-step, .kp-q, .kp-tldr-card, .kp-tile, .kp-rel { background: #fff; border: 1px solid var(--cloud); }
.kp-sec-white .kp-feature, .kp-sec-white .kp-step, .kp-sec-white .kp-q, .kp-sec-white .kp-tldr-card, .kp-sec-white .kp-tile, .kp-sec-white .kp-rel { background: var(--snow); border-color: transparent; }

/* features */
.kp-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kp-features-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kp-feature { border-radius: 22px; padding: 26px; color: inherit; }
.kp-feature-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-tint); color: var(--blue-dark); display: grid; place-items: center; }
.kp-feature h3, .kp-step h3 { margin: 18px 0 0; font-size: 17px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.kp-feature p, .kp-step p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--slate); }
a.kp-contact { transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease; }
a.kp-contact:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -22px rgba(9,9,11,.22); color: inherit; }
.kp-contact-mail { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--blue); }

/* questions */
.kp-questions { display: flex; flex-wrap: wrap; gap: 10px; }
.kp-q { display: inline-flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 999px; font-size: 14.5px; color: var(--ink); }
.kp-q svg { color: var(--blue); flex: none; }

/* steps */
.kp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.kp-step { padding: 26px; border-radius: 22px; }
.kp-step-n { font-size: 13px; color: var(--blue); }

/* code */
.kp-code-wrap { max-width: 880px; border-radius: 20px; overflow: hidden; background: #0b0f1a; box-shadow: 0 30px 60px -30px rgba(9,9,11,.5); }
.kp-code-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.kp-code-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.kp-code-bar em { margin-left: 10px; font-style: normal; font-family: var(--mono); font-size: 11.5px; color: rgba(255,255,255,.5); }
.kp-code { margin: 0; padding: 20px 22px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.7; color: #dbe4ff; white-space: pre; }

/* split */
.kp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.kp-split-rev .kp-split-copy { order: 2; }

/* table */
.kp-table-wrap { overflow-x: auto; border: 1px solid var(--cloud); border-radius: 22px; background: #fff; }
.kp-table { width: 100%; min-width: 580px; border-collapse: collapse; font-size: 14px; }
.kp-table th, .kp-table td { padding: 15px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--cloud); }
.kp-table thead th { border-top: 0; background: var(--snow); font-size: 13px; font-weight: 600; color: var(--ink); }
.kp-table tbody th { width: 36%; font-weight: 500; color: var(--slate); }
.kp-table td { color: var(--slate); font-variant-numeric: tabular-nums; }
.kp-table .kp-col-us { background: rgba(37,99,235,.045); color: var(--ink); font-weight: 500; }
.kp-table thead .kp-col-us { background: var(--blue-tint); color: var(--blue-dark); }
.kp-yes { display: inline-flex; color: var(--blue); }
.kp-no { color: #a1a1aa; }
.kp-table-note { margin-top: 16px; max-width: 80ch; font-size: 12.5px; line-height: 1.6; color: var(--ash); }
.kp-table-note p { margin: 0 0 6px; }
.kp-table-note a { color: var(--slate); text-decoration: underline; text-underline-offset: 2px; }

/* tl;dr */
.kp-tldr { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kp-tldr-card { padding: 28px; border-radius: 22px; }
.kp-sec .kp-tldr-us { background: var(--blue-tint); border-color: #d6e4ff; }
.kp-tldr-card .kc-checks { margin-top: 16px; }
.kp-tldr-card:not(.kp-tldr-us) .kc-checks svg { color: var(--ash); }

/* prose */
.kp-prose { max-width: 760px; font-size: 16px; line-height: 1.75; color: var(--slate); }
.kp-prose h3 { margin: 28px 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.kp-prose h3:first-child { margin-top: 0; }
.kp-prose p { margin: 0 0 16px; }
.kp-prose ul { margin: 0 0 16px; padding-left: 20px; }
.kp-prose li { margin-bottom: 8px; }
.kp-prose a { text-decoration: underline; text-underline-offset: 2px; }

/* plans */
.kp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.kp-plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: 24px; background: #fff; border: 1px solid var(--mist); }
.kp-plan.is-featured { border: 2px solid var(--blue); box-shadow: 0 24px 56px -24px rgba(37,99,235,.35); }
.kp-plan-badge { position: absolute; top: -12px; left: 26px; padding: 4px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.kp-plan-name { font-size: 16px; font-weight: 600; color: var(--ink); }
.kp-plan-blurb { margin: 6px 0 0; min-height: 40px; font-size: 13.5px; line-height: 1.5; color: var(--ash); }
.kp-plan-price { display: flex; align-items: baseline; gap: 4px; margin: 18px 0 20px; }
.kp-plan-price span { font-size: 44px; font-weight: 500; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.kp-plan.is-featured .kp-plan-price span { color: var(--blue); }
.kp-plan-price em { font-style: normal; font-size: 13px; color: var(--ash); }
.kp-plan .kc-pill-btn { justify-content: center; }
.kp-plan .kc-checks { margin-top: 24px; }
.kp-plan .kc-checks li { font-size: 13.5px; }

/* hubs */
.kp-cases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
a.kc-case, a.kc-case:hover { color: #fff; }
.kp-group + .kp-group { margin-top: 40px; }
.kp-group-title { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ash); }
.kp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.kp-tile { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 20px; color: inherit; transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease; }
.kp-tile:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -22px rgba(9,9,11,.22); color: inherit; }
.kp-tile-logo { flex: none; width: 52px; height: 52px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--cloud); display: grid; place-items: center; }
.kp-tile-logo img { width: 28px; height: 28px; object-fit: contain; display: block; }
.kp-tile-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.kp-tile-body b { font-size: 15px; font-weight: 600; color: var(--ink); }
.kp-tile-body span { font-size: 13px; line-height: 1.45; color: var(--ash); }
.kp-tile-arrow { flex: none; color: var(--ash); transition: transform .2s ease, color .2s ease; }
.kp-tile:hover .kp-tile-arrow { color: var(--blue); transform: translateX(3px); }

/* FAQ */
.kp-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; }
.kp-faq { border-bottom: 1px solid var(--cloud); }
.kp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; font-size: 15.5px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.kp-faq summary::-webkit-details-marker { display: none; }
.kp-faq summary:hover { color: var(--blue); }
.kp-faq summary .kx-faq-sign::before { content: '+'; }
.kp-faq[open] summary .kx-faq-sign::before { content: '\2212'; }
.kp-faq p { margin: 0; padding: 0 4px 20px; max-width: 64ch; font-size: 14.5px; line-height: 1.65; color: var(--slate); }

/* related */
.kp-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.kp-rel { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 52px; border-radius: 20px; color: inherit; transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease; }
.kp-rel:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -22px rgba(9,9,11,.22); color: inherit; }
.kp-rel b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.kp-rel > span:not(.kx-eyebrow):not(.kp-rel-arrow) { font-size: 13.5px; line-height: 1.5; color: var(--slate); }
.kp-rel-arrow { position: absolute; left: 22px; bottom: 20px; color: var(--ash); transition: transform .2s ease, color .2s ease; }
.kp-rel:hover .kp-rel-arrow { color: var(--blue); transform: translateX(4px); }

/* closing CTA */
.kp-cta-wrap { padding: 12px 0; background: var(--snow); }
.kp-cta.kc-band { padding: 96px 64px 260px; }
.kp-cta h2 { margin: 0; max-width: 16ch; font-weight: 600; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -.035em; color: #fff; }
/* Solid grey: translucent text shows a darker seam wherever tight letters touch. */
.kp-cta h2 .kp-muted { color: #a1a1aa; font-weight: 600; }
.kp-cta p { margin: 16px 0 0; max-width: 46ch; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.76); }
.kp-cta .kp-ctas { margin-top: 26px; }

/* ---------- Mobile nav ---------- */
.kx-mnav { display: none; position: relative; }
.kx-mnav summary { list-style: none; cursor: pointer; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--mist); background: #fff; display: grid; place-items: center; color: var(--ink); }
.kx-mnav summary::-webkit-details-marker { display: none; }
.kx-mnav-panel { position: absolute; right: 0; top: 48px; width: min(300px, calc(100vw - 32px)); padding: 8px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--cloud); border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(9,9,11,.3); }
.kx-mnav-panel a { padding: 11px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.kx-mnav-panel a:hover { background: var(--snow); color: var(--ink); }

/* ---------- Footer directory ---------- */
.kx-footer-dir { display: grid; grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr)); gap: 32px; padding: 16px 0 44px; border-bottom: 1px solid var(--mist); }
.kx-footer-brand img { height: 22px; width: auto; display: block; }
.kx-footer-brand p { margin: 14px 0 0; max-width: 30ch; font-size: 13.5px; line-height: 1.6; color: var(--slate); }
.kx-footer-col h3 { margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ash); }
.kx-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.kx-footer-col a { font-size: 13.5px; color: var(--slate); }
.kx-footer-col a:hover { color: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
	.kp-hero-split .kp-hero-inner, .kp-split, .kp-faq-grid { grid-template-columns: 1fr; gap: 48px; }
	.kp-split-rev .kp-split-copy { order: 0; }
	.kp-features, .kp-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kp-plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
	.kp-visual-photo, .kp-visual-logo { padding-left: 0; }
	.kp-visual .kp-chat { left: 16px; }
	.kx-footer-dir { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.kx-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	.kx-mnav { display: block; }
	.kx-nav-cta .kx-btn-secondary { display: none; }
}
@media (max-width: 640px) {
	.kp-sec { padding: 72px 20px; }
	.kp-hero { padding: 32px 20px 56px; }
	.kp-features, .kp-features-4, .kp-cases, .kp-tldr { grid-template-columns: 1fr; }
	.kp-visual .kp-chat { position: relative; left: auto; bottom: auto; width: calc(100% - 24px); margin: -90px auto 0; }
	.kp-cta.kc-band { padding: 72px 24px 200px; }
	.kx-footer-dir { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
	.kp-connect-line i { animation: none; }
	.kp-tile, .kp-rel, a.kp-contact { transition: none; }
}

/* booking / action card inside the chat mock-up */
.kp-chat-card-text { color: var(--ash); line-height: 1.45; }
.kp-chat-card-btn { align-self: flex-start; margin-top: 2px; padding: 6px 12px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 500; }

/* logo visual: tiles stack on the right so the chat mock-up never covers them */
.kp-connect { flex-direction: column; align-items: flex-end; justify-content: center; padding: 0 8% 0 0; }
.kp-connect-line { width: 2px; height: 64px; margin: 0 47px 0 0; background: repeating-linear-gradient(180deg, #93b4f5 0 6px, transparent 6px 12px); }
.kp-connect-line i { top: 0; left: -3px; animation-name: kpTravelY; }
@keyframes kpTravelY { 0%, 100% { top: 0; } 50% { top: calc(100% - 8px); } }
@media (max-width: 640px) {
	.kp-connect { align-items: center; padding: 12% 0 30%; justify-content: flex-start; }
	.kp-connect-line { margin: 0; }
}

/* KuraChat tile: the brand icon fills the whole tile */
.kp-connect-tile--brand { overflow: hidden; background: #0055ff; }
.kp-connect-tile--brand img { width: 100%; height: 100%; object-fit: cover; }

/* split sections without a visual: heading left, copy right */
.kp-split-text { align-items: start; gap: 64px; }
.kp-split-body { padding-top: 26px; }
.kp-split-body .kp-intro { margin-top: 0; max-width: 62ch; }
.kp-split-body .kc-checks { margin-top: 22px; }
@media (max-width: 1000px) {
	.kp-split-text { gap: 20px; }
	.kp-split-body { padding-top: 0; }
}

/* Photo + chat heroes: the chat hangs off the photo's lower-left corner so the
   person in the photo (usually upper half, centre) stays visible. */
.kp-visual-photo { padding: 0 0 190px 120px; }
.kp-visual-photo .kp-shot { aspect-ratio: 4 / 5; }
.kp-visual-photo .kp-chat { top: auto; left: 0; bottom: 0; width: 300px; }
@media (max-width: 1000px) {
	.kp-visual-photo { padding: 0 0 170px 72px; max-width: 560px; }
	.kp-visual-photo .kp-chat { left: 0; }
}
@media (max-width: 640px) {
	.kp-visual-photo { padding: 0; max-width: none; }
	.kp-visual-photo .kp-chat { position: relative; left: auto; bottom: auto; width: calc(100% - 24px); margin: -64px auto 0; }
}

/* Comparison and plan tables fit a phone screen: every column visible, cells wrap. */
@media (max-width: 640px) {
	.kp-table { min-width: 0; font-size: 12.5px; table-layout: fixed; }
	.kp-table th, .kp-table td { padding: 10px 8px; overflow-wrap: anywhere; }
	.kp-table tbody th { width: 34%; }
	.kp-table thead th { font-size: 12px; white-space: normal; }
	.kp-table-wrap { border-radius: 16px; }
}
