/*
Theme Name: KinemIQ
Theme URI: https://kinemiq.app/
Author: KinemIQ
Description: The KinemIQ site - landing page, pricing, account pages. Dark, fast (one stylesheet, system fonts, no jQuery), made for the KinemIQ Core plugin.
Version: 1.3.11
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: kinemiq
*/

:root {
  --bg: #0b0e1a; --bg2: #0e1222; --card: #141a2d; --line: #243049; --text: #e8ecf5; --muted: #9fb0c1; --dim: #6f7f90;
  --n1: #ffb13d; --n2: #ff6a3d; --n3: #ff3d8b; --cy: #2ee6ff; --neon: linear-gradient(100deg, var(--n1), var(--n2) 55%, var(--n3));
  --radius: 16px; --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--n1); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; color: #fff; margin: 0 0 .5em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
.grad { background: var(--neon); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* header */
.site-head { position: sticky; top: 0; z-index: 50; background: #0b0e1acc; backdrop-filter: blur(12px); border-bottom: 1px solid #ffffff10; }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 800; font-size: 22px; letter-spacing: .3px; }
.brand img { width: 34px; height: 34px; }
.brand b { font-weight: 900; }
.beta { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .12em; color: #ffd166; border: 1px solid #ffd16666; border-radius: 6px; padding: 1px 5px; margin-left: 2px; align-self: center; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 12px; padding: 12px 22px; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; color: #fff; background: var(--neon); box-shadow: 0 8px 28px #ff6a3d40; transition: transform .15s, filter .15s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.07); }
.btn.ghost { background: #ffffff0a; border: 1px solid var(--line); box-shadow: none; color: var(--text); }
.btn.small { padding: 9px 16px; font-size: 14px; }
.nav .btn { color: #fff; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: #fff; border-radius: 10px; padding: 8px 12px; font-size: 18px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 40px; text-align: center;
  background: radial-gradient(1000px 600px at 70% 0%, #ff6a3d26, transparent 70%), radial-gradient(800px 500px at 15% 60%, #ff3d8b18, transparent 70%), linear-gradient(170deg, #1d1438 0%, var(--bg2) 50%, var(--bg) 100%); }
.hero::after { content: ''; position: absolute; left: -40%; right: -40%; bottom: -10%; height: 55%; transform: perspective(700px) rotateX(64deg); transform-origin: 50% 0;
  background-image: linear-gradient(#ffffff12 1.5px, transparent 1.5px), linear-gradient(90deg, #ffffff12 1.5px, transparent 1.5px); background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(transparent, #000 40%); mask-image: linear-gradient(transparent, #000 40%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--muted); border: 1px solid var(--line); background: #ffffff08; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--n2); box-shadow: 0 0 10px var(--n2); }
.hero h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 800; letter-spacing: -.5px; margin: 22px 0 16px; }
.hero h1 em { font-style: normal; }
.hero .lead { font-size: clamp(17px, 2vw, 21px); color: var(--muted); max-width: 720px; margin: 0 auto 30px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 14px; color: var(--dim); font-size: 14px; }
.shot { margin: 56px auto 0; max-width: 1080px; border-radius: 18px; padding: 8px; background: linear-gradient(#ffffff14, #ffffff05); border: 1px solid #ffffff18; box-shadow: 0 40px 120px #000a, 0 0 80px #ff6a3d22; }
.shot img { border-radius: 12px; }

/* sections */
.sec { padding: 96px 0; }
.sec.alt { background: var(--bg2); border-top: 1px solid #ffffff08; border-bottom: 1px solid #ffffff08; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 42px); }
.sec-head p { color: var(--muted); font-size: 18px; margin: 0; }
.kicker { display: block; font-size: 13px; letter-spacing: .2em; font-weight: 700; color: var(--n2); margin-bottom: 10px; text-transform: uppercase; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feat .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: #ff6a3d1c; margin-bottom: 14px; }
.feat h3 { font-size: 19px; }
.feat p { color: var(--muted); margin: 0; font-size: 15px; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 0 26px 58px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: var(--neon); color: #fff; }
.steps h3 { font-size: 19px; margin-bottom: 4px; }
.steps p { color: var(--muted); margin: 0; }
.formats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.formats span { border: 1px solid var(--line); border-radius: 8px; padding: 3px 10px; font-size: 13px; color: var(--muted); font-weight: 700; }

/* pricing */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
/* (two export packs: centred under the three plans, each as wide as a plan - the owner 2026-11-04) */
.plans.plans-2 { grid-template-columns: repeat(2, minmax(0, calc((100% - 36px) / 3))); justify-content: center; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.plan.hot { border-color: transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--neon) border-box; border: 2px solid transparent; box-shadow: 0 20px 60px #ff6a3d22; }
.plan.hot::before { content: 'Most popular'; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--neon); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; letter-spacing: .05em; }
.plan h3 { font-size: 22px; margin: 0; }
.plan .price { font-size: 34px; font-weight: 800; color: #fff; }
.plan ul { list-style: none; padding: 0; margin: 6px 0 18px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 15px; }
.plan li::before { content: '✓'; color: var(--n2); font-weight: 800; margin-right: 8px; }
.plan .btn { margin-top: auto; justify-content: center; }
.plans-note { text-align: center; color: var(--dim); margin-top: 22px; font-size: 14px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; color: #fff; list-style: none; }
.faq summary::after { content: '+'; float: right; color: var(--n2); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.final { text-align: center; padding: 100px 0; background: radial-gradient(700px 400px at 50% 100%, #ff6a3d22, transparent 70%); }
.final h2 { font-size: clamp(30px, 4.5vw, 48px); }
.final p { color: var(--muted); font-size: 18px; margin-bottom: 26px; }

/* pages (terms, privacy ...) */
.page-main { padding: 56px 0 96px; }
.page-main .entry { max-width: 820px; margin: 0 auto; }
.page-main .entry h1 { font-size: 40px; }
.entry p, .entry li { color: #cdd6e2; }
.entry h2, .entry h3 { margin-top: 1.6em; }

/* footer */
.site-foot { margin-top: auto; border-top: 1px solid #ffffff10; padding: 40px 0; color: var(--dim); font-size: 14px; }
.site-foot .wrap { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.site-foot nav { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: #fff; }

/* the language switch (inc/i18n.php) - a plain list of links under a globe */
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; cursor: pointer; color: var(--muted); font-weight: 600; font-size: 14px; padding: 4px 6px; border-radius: 8px; white-space: nowrap; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { color: #fff; }
.lang-switch .lang-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; display: grid; min-width: 150px; padding: 6px; background: #141a2d; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px #0008; }
.lang-switch .lang-list a { padding: 7px 10px; border-radius: 8px; font-size: 14px; }
.lang-switch .lang-list a:hover, .lang-switch .lang-list a[aria-current] { background: #ffffff12; color: #fff; }
@media (max-width: 900px) { .lang-switch .lang-list { position: static; box-shadow: none; margin-top: 4px; } .lang-switch summary { padding: 10px 0; } }
@media (max-width: 900px) {
  .grid, .plans, .plans.plans-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #0b0e1af5; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
  .sec { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* the legal links: there, small and quiet */
.site-foot .legal-links { font-size: 11.5px; color: #4f5d6d; }
.site-foot .legal-links a { color: #5f6e80; }
.kq-legal-note { color: var(--dim); font-size: 14px; }
.entry details { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 14px; }
.entry details summary { cursor: pointer; color: var(--muted); font-weight: 600; }

/* the guide */
.kq-guide-lead { font-size: 18px; color: var(--muted); }
.kq-toc { position: sticky; top: 76px; z-index: 5; background: #0b0e1af0; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 14px; line-height: 1.9; margin: 18px 0 8px; }
.kq-toc a { color: var(--muted); text-decoration: none; } .kq-toc a:hover { color: #fff; }
.entry h2[id] { scroll-margin-top: 140px; }
.kq-keys { width: 100%; border-collapse: collapse; font-size: 14px; }
.kq-keys td { padding: 7px 8px; border-bottom: 1px solid var(--line); color: #cdd6e2; }
kbd { background: #1a2236; border: 1px solid #33405c; border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; font: 600 12px/1.4 ui-monospace, Consolas, monospace; color: #fff; }
.plan .btn.soon { cursor: default; opacity: .6; justify-content: center; }
.plan .btn.soon:hover { transform: none; filter: none; }

/* landing pages (inc/landing.php): explore links, the footer's "what you can make" row, figures */
.kq-explore { margin-top: 32px; color: var(--muted); font-size: 15px; }
.site-foot nav.foot-explore { display: block; flex-basis: 100%; margin-left: 0; order: 9; font-size: 13px; color: var(--muted); line-height: 2; }
.foot-explore a { color: var(--muted); text-decoration: none; } .foot-explore a:hover { color: #fff; }
.entry figure { margin: 24px 0; } .entry figure img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.entry .kq-cta { margin: 28px 0; }

/* product videos (front page): the hero loop, the gallery, the demo dialog */
.hero-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; background: #07090c; }
.gallery { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
.gal { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gal video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #07090c; }
.gal figcaption { padding: 14px 18px 16px; color: var(--muted); font-size: 15px; }
.gal figcaption b { display: block; color: var(--text); font-size: 17px; margin-bottom: 2px; }
dialog.demo { width: min(1100px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line); border-radius: 14px; background: #07090c; overflow: hidden; }
dialog.demo::backdrop { background: #000c; }
dialog.demo video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.demo-x { position: absolute; top: 8px; right: 8px; z-index: 1; border: 0; border-radius: 10px; background: #0009; color: #fff; font-size: 18px; width: 38px; height: 38px; cursor: pointer; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

/* (2026-10-12, the owner: "too big - video to animation must be seen at once": a compact hero, the video right under the
   call to action - above the fold on a laptop) */
.hero { padding: 40px 0 28px; }
.hero h1 { font-size: clamp(30px, 4.2vw, 52px); margin: 14px 0 10px; line-height: 1.1; }
.hero .lead { font-size: clamp(16px, 1.45vw, 19px); max-width: 760px; margin: 0 auto 20px; }
.hero .note { margin-top: 10px; font-size: 13px; }
.hero .shot { margin-top: 22px; }
/* (two hero videos side by side - the dance and the two-fighter sparring; stacked on a phone) */
.shot.duo { max-width: 1280px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shot.duo figure { margin: 0; position: relative; }
.shot.duo figcaption { position: absolute; left: 12px; bottom: 10px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; background: #0d1015cc; border: 1px solid #ffffff22; }
@media (max-width: 760px) { .shot.duo { grid-template-columns: 1fr; } }
.hero .credit { margin: 10px auto 0; max-width: 900px; font-size: 12px; color: var(--dim); }
.hero .credit a { color: inherit; text-decoration: underline; }
.gal-credit { margin: 14px auto 0; max-width: 900px; text-align: center; font-size: 12px; color: var(--dim); }
.gal-credit a { color: inherit; text-decoration: underline; }

/* 2026-10-16 (the owner: "too much text, the smallest texts even smaller"): the fine print - credits, captions, notes */
.hero .credit, .gal-credit, .kq-guide figcaption, .page figcaption, main figure figcaption { font-size: 10.5px; line-height: 1.35; color: var(--dim); opacity: .8; }
.hero .note, .plans-note { font-size: 12px; }
/* the logo's "IQ": a solid colour - its gradient text came out empty in some mobile browsers ("Kinem" only) */
.brand b.grad { background: none; color: #ff8a3d; -webkit-text-fill-color: #ff8a3d; }
@media (max-width: 480px) { .brand { font-size: 19px; gap: 8px; } .brand img { width: 30px; height: 30px; } .gal figcaption { font-size: 13.5px; } .gal figcaption b { font-size: 15px; } }

/* ---------- 2026-10-16 compact design (the owner: "panels needlessly big, unify the design, smaller type, a more
   interesting font"): Space Grotesk (OFL, self-hosted - no request to Google), tighter sections, small cards */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(assets/fonts/space-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(assets/fonts/space-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
body { font: 14.5px/1.55 'Space Grotesk', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: -.005em; }
h1, h2, h3 { letter-spacing: -.02em; font-weight: 700; }
.site-head .wrap { height: 56px; }
.nav a { font-size: 13.5px; }
.btn { padding: 10px 18px; font-size: 14px; border-radius: 10px; }
.btn.small { padding: 7px 13px; font-size: 13px; }
.hero { padding: 52px 0 28px; }
.hero h1 { font-size: clamp(30px, 5vw, 56px); margin: 14px 0 10px; }
.hero .lead { font-size: clamp(15px, 1.6vw, 18px); margin-bottom: 20px; }
.badge { font-size: 11px; padding: 4px 11px; }
.shot { margin-top: 30px; border-radius: 14px; padding: 6px; }
.sec { padding: 56px 0; }
.sec-head { margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(22px, 3vw, 32px); }
.sec-head p { font-size: 15px; }
.kicker { font-size: 11px; margin-bottom: 6px; }
.grid { gap: 10px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.feat { padding: 12px 14px; border-radius: 12px; display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; align-items: start; }
.feat .ic { width: 32px; height: 32px; border-radius: 9px; font-size: 16px; margin: 0; grid-row: span 2; }
.feat h3 { font-size: 15px; margin: 4px 0 2px; }
.feat p { font-size: 13px; line-height: 1.45; }
.split { gap: 32px; }
.steps li { padding: 0 0 14px 42px; }
.steps li::before { width: 28px; height: 28px; border-radius: 8px; font-size: 13px; }
.steps h3 { font-size: 15px; margin-bottom: 2px; }
.steps p { font-size: 13.5px; }
.formats span { font-size: 11.5px; padding: 2px 8px; }
.gal figcaption { padding: 10px 12px 12px; font-size: 13px; }
.gal figcaption b { font-size: 14.5px; }
.faq details { padding: 10px 14px; border-radius: 10px; margin-bottom: 6px; }
.faq summary { font-size: 14px; }
.faq p { font-size: 13.5px; margin-top: 6px; }
.final { padding: 56px 0; }
.final h2 { font-size: clamp(22px, 3.5vw, 34px); }
.final p { font-size: 15px; margin-bottom: 16px; }
.page-main { padding: 36px 0 64px; }
.page-main .entry h1 { font-size: clamp(26px, 4vw, 36px); }
.entry h2 { font-size: 19px; margin-top: 1.3em; }
.entry p, .entry li { font-size: 14.5px; }
.site-foot { padding: 26px 0; font-size: 12.5px; }
@media (max-width: 480px) { body { font-size: 14px; } .sec { padding: 40px 0; } .hero { padding: 36px 0 20px; } .wrap { padding: 0 16px; } }
.kq-guide-lead { font-size: 15.5px; }
.entry figure { margin: 16px 0; }
.entry .kq-cta { margin: 18px 0; }

/* the sticky "try it" button on phones (functions.php) */
.sticky-cta { display: none; }
@media (max-width: 700px) {
  .sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; text-align: center; padding: 12px 16px; border-radius: 12px; background: var(--neon); color: #fff; font-weight: 700; font-size: 14.5px; text-decoration: none; box-shadow: 0 10px 30px #000a, 0 0 30px #ff6a3d44; }
  body { padding-bottom: 70px; }
}

/* (2026-10-17: the feature cards in rows of 4, an unfinished last row centred; one gallery clip centred) */
.grid { display: flex; flex-wrap: wrap; justify-content: center; }
.grid > .feat { flex: 1 1 230px; max-width: calc((100% - 30px) / 4); }
@media (max-width: 1000px) { .grid > .feat { max-width: calc((100% - 10px) / 2); } }
@media (max-width: 560px) { .grid > .feat { max-width: 100%; } }
.gallery > .gal:only-child { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 760px; }


/* ---------- content pages centred (the owner 2026-10-18: "everything on the web in the middle"): headings, text, buttons,
   pictures and their captions in the middle like the front page; lists keep their bullets beside the text. Only pages
   with a Studio button (the landing pages, the guide) - the legal texts stay left, long centred paragraphs read badly */
.page-main .entry:has(.kq-cta) { text-align: center; }
.entry:has(.kq-cta) h1, .entry:has(.kq-cta) h2, .entry:has(.kq-cta) h3, .entry:has(.kq-cta) p, .entry:has(.kq-cta) figure, .entry:has(.kq-cta) figcaption, .entry:has(.kq-cta) .kq-cta, .entry:has(.kq-cta) .kq-explore { margin-left: auto; margin-right: auto; text-align: center; }
.entry:has(.kq-cta) p { max-width: 680px; }
.entry:has(.kq-cta) ul, .entry:has(.kq-cta) ol { display: inline-block; text-align: left; margin-left: auto; margin-right: auto; max-width: 680px; }
.entry:has(.kq-cta) .kq-cta, .entry:has(.kq-cta) .kq-cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.entry:has(.kq-cta) img, .entry:has(.kq-cta) video { margin-left: auto; margin-right: auto; }
.entry:has(.kq-cta) details { text-align: left; max-width: 720px; margin-left: auto; margin-right: auto; }
.entry:has(.kq-cta) details summary { text-align: center; }
.entry:has(.kq-cta) .faq { text-align: left; max-width: 720px; margin-left: auto; margin-right: auto; }
.entry:has(.kq-cta) table { margin-left: auto; margin-right: auto; }

/* the /learn/ hub */
.entry ul.kq-learn { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 22px; }
.entry ul.kq-learn li { margin: 0; }
.entry ul.kq-learn small { color: var(--muted); line-height: 1.4; display: block; margin-top: 2px; }

/* "KinemIQ in short" under the hero (2026-10-21): the facts an AI assistant or a visitor checks first - free?, formats, engines */
.sec.facts { padding: 8px 0 34px; }
.facts-h { text-align: center; font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 14px; }
.facts-l { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; max-width: 1040px; margin: 0 auto; }
.facts-l > div { flex: 1 1 230px; max-width: calc((100% - 30px) / 4); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.facts-l dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--n1); margin-bottom: 2px; }
.facts-l dd { margin: 0; font-size: 14px; line-height: 1.45; color: var(--text); }
@media (max-width: 1000px) { .facts-l > div { max-width: calc((100% - 10px) / 2); } }
@media (max-width: 560px) { .facts-l > div { max-width: 100%; } }

/* the terms in plain words on top of /terms/ (kinemiq-core legal.php [kq_terms_summary]) */
.kq-terms-summary { margin: 14px 0 22px; padding: 14px 18px; border: 1px solid rgba(255,122,61,.45); border-radius: 12px; background: rgba(255,122,61,.07); }
.kq-terms-summary p { margin: 0 0 6px; } .kq-terms-summary ul { margin: 0; padding-left: 20px; } .kq-terms-summary li { margin: 3px 0; }
/* (front-page.php "Quick answers" - kqt_answers, 2026-10-28: what ChatGPT reads first) */
.sec.answers { padding: 0 0 34px; }
.answers-l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; max-width: 1040px; margin: 0 auto; }
.answers-l > div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.answers-l dt { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.answers-l dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.answers-l a { white-space: nowrap; }
@media (max-width: 760px) { .answers-l { grid-template-columns: 1fr; } }

/* the slim "new" strip on top of the site's pages (functions.php KQT_NEWS, 2026-10-31) - in the page flow, never over anything */
.kq-news { position: relative; background: #141a2d; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; text-align: center; padding: 7px 46px; }
.kq-news a { color: var(--text); text-decoration: none; }
.kq-news a:hover span { text-decoration: underline; }
.kq-news b { color: var(--n1); }
.kq-news span { color: var(--n1); font-weight: 600; white-space: nowrap; }
.kq-news button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 8px; background: none; color: var(--muted); font-size: 15px; cursor: pointer; }
.kq-news button:hover { background: #ffffff12; color: #fff; }
@media (max-width: 560px) { .kq-news { font-size: 13px; padding: 6px 42px 6px 12px; text-align: left; } }
/* (the text to animation card's title is a link - in the card's own colour) */
.feat h3 a { color: inherit; text-decoration: none; }
/* the home page's two ways side by side - video to animation | text to animation (front-page.php .ways, 2026-10-31) */
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 760px; margin: -8px auto 26px; text-align: left; }
.way { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.way:hover { border-color: var(--n1); transform: translateY(-2px); }
.way-ic { font-size: 24px; line-height: 1; }
.way b { font-size: 18px; }
.way span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.way em { font-style: normal; font-weight: 700; color: var(--n1); font-size: 14px; margin-top: 2px; }
.way-new { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #0b0e1a; background: var(--n1); border-radius: 6px; padding: 1px 6px; vertical-align: 3px; margin-left: 4px; }
/* (phones: the video card small; text to animation only as a note "open on a computer" - it needs a computer's graphics card, a link would only bring rage clicks; no "new" strip. The owner 2026-10-31) */
.way-note { display: none; }
@media (max-width: 560px) { .kq-news, .way[data-cta="way-text"] { display: none !important; } .ways { grid-template-columns: 1fr; gap: 6px; margin: -12px auto 16px; } .way { padding: 10px 12px; gap: 2px; } .way b { font-size: 15px; } .way > span:not(.way-ic) { display: none; } .way-ic { font-size: 18px; } .way em { font-size: 13px; } .way-note { display: block; margin: 0; font-size: 13px; color: var(--muted); text-align: center; } .way-note .way-new { font-size: 9px; } }
/* (the home page's two videos on top - video to animation | text to animation, 2026-10-31; phones: the video one only) */
@media (max-width: 760px) { .hero-duo .duo-text { display: none; } }

/* the home page's first screen with more air between its parts (the owner 2026-11-04: "too much text, too tight") */
.hero .lead { margin-bottom: 30px; }
.hero .ways { margin: 0 auto 30px; gap: 16px; }
.hero .way { padding: 18px 20px; gap: 6px; }
.hero .cta { gap: 14px; }
.hero .note { margin-top: 16px; }
.hero .shot { margin-top: 34px; }

/* the community library strip on the home page (front-page.php #library, 2026-11-04) */
.lib-strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.lib-tile { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: #141b30; border: 1px solid #ffffff12; text-decoration: none; transition: transform .18s, border-color .18s; }
.lib-tile:hover { transform: translateY(-3px); border-color: #ff6a3d88; }
.lib-tile img { width: 100%; height: 100%; object-fit: cover; }
.lib-tile span { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 6px; background: #000000a8; color: #fff; font-size: 12px; font-weight: 700; }
@media (max-width: 900px) { .lib-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .lib-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
