/* =========================================================
   KronoFlow — feuille de style du site (design clair, épuré)
   Fond blanc, beaucoup d'espace, une seule couleur d'accent
   (le vert du logo), boutons arrondis, interface produit mise
   en avant plutôt que des illustrations.
   ========================================================= */

:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --bg-soft: #F4F6F5;
  --bg-tint: #EAF6F0;
  --ink: #0E1116;
  --ink-2: #4A5160;
  --ink-3: #636B78;
  --line: #E4E7EB;
  --line-2: #CDD2D9;
  --accent: #0E9F6E;       /* décoratif : puces, icônes, coches */
  --accent-ink: #087A54;   /* texte et liens en vert (contraste AA) */
  --accent-soft: #E3F6EE;
  --amber-ink: #8A5A00; --amber-soft: #FFF4DD;
  --blue-ink: #0B5F86;  --blue-soft: #E2F1FA;
  --red-ink: #A3263C;   --red-soft: #FDE8EC;
  --body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 72px;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(14, 17, 22, .04), 0 12px 32px -12px rgba(14, 17, 22, .12);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
body.drawer-open { overflow: hidden; }
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--body); font-weight: 800; line-height: 1.12; margin: 0; letter-spacing: -0.02em; text-wrap: balance; color: var(--ink); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.kf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kf-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; font-weight: 700; }
.kf-skip:focus { top: 12px; }

/* ---------- Mise en page ---------- */
.kf-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.kf-section { position: relative; padding-block: clamp(72px, 10vw, 128px); }
.kf-light, .kf-band { background: var(--bg-soft); }
.kf-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 720px; }
.kf-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.kf-h2 { font-size: clamp(30px, 4vw, 46px); }
.kf-lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 60ch; }
.kf-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; justify-self: start; }
.kf-grad { color: var(--accent-ink); }
.kf-cat { font-size: 13px; font-weight: 700; color: var(--accent-ink); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Boutons ---------- */
.kf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 15px var(--body); letter-spacing: -0.005em;
  padding: 12px 22px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: var(--bg); color: var(--ink);
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.kf-btn:hover { border-color: var(--ink); text-decoration: none; }
.kf-btn-glow { background: var(--ink); border-color: var(--ink); color: #fff; }
.kf-btn-glow:hover { background: #2A2F38; border-color: #2A2F38; }
.kf-btn-ghost { background: transparent; border-color: transparent; }
.kf-btn-ghost:hover { border-color: var(--line-2); }
.kf-btn-lg { padding: 15px 28px; font-size: 16px; }
.kf-btn[disabled] { opacity: .6; cursor: progress; }
.kf-more { font-weight: 700; text-decoration: none; }
.kf-more:hover { text-decoration: underline; }

/* ---------- En-tête ---------- */
.kf-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); transition: transform .3s ease; }
.kf-header.nav-hidden { transform: translateY(-100%); }
.kf-nav { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.kf-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.kf-logo:hover { text-decoration: none; }
.kf-mark { width: 30px; height: 30px; flex: none; }
.kf-mark path:first-of-type { stroke: var(--ink); }
.kf-mark stop:first-child { stop-color: #0E9F6E; }
.kf-mark stop:last-child { stop-color: #0891B2; }
.kf-logo-flow { color: var(--accent-ink); }
.kf-links { display: flex; gap: 28px; font-size: 15px; font-weight: 600; }
.kf-links a { color: var(--ink-2); text-decoration: none; padding-block: 6px; }
.kf-links a:hover, .kf-links a.active { color: var(--ink); }
.kf-links a.active { box-shadow: inset 0 -2px 0 var(--ink); }
.kf-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.kf-actions .kf-btn { padding: 10px 18px; font-size: 14px; }
.kf-burger { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--bg); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.kf-burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
.kf-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(340px, 88vw); padding: 20px 24px calc(24px + env(safe-area-inset-bottom, 0px)); background: var(--bg); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
.kf-drawer.open { transform: none; visibility: visible; transition: transform .3s ease; }
.kf-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.kf-drawer-close { width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--bg); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.kf-drawer .drawer-link { color: var(--ink); font-weight: 700; font-size: 18px; padding: 13px 2px; border-bottom: 1px solid var(--line); text-decoration: none; }
.kf-drawer .drawer-link.active { color: var(--accent-ink); }
.kf-drawer-cta { margin-top: 20px; }
.drawer-overlay { position: fixed; inset: 0; z-index: 55; background: rgba(14, 17, 22, .35); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

/* ---------- Hero de l'accueil ---------- */
.kf-hero { position: relative; padding-block: clamp(56px, 8vw, 104px) 0; }
.kf-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 72px); justify-items: center; text-align: center; }
.kf-hero-copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; justify-items: center; width: 100%; max-width: 880px; min-width: 0; }
.kf-hero .kf-eyebrow { justify-self: center; text-align: center; }
.kf-hero h1 { font-size: clamp(38px, 6.2vw, 72px); letter-spacing: -0.035em; line-height: 1.04; }
.kf-hero .kf-lede { max-width: 640px; }
.kf-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.kf-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 15px; color: var(--ink-2); padding: 0; margin: 0; list-style: none; }
.kf-trust li { display: inline-flex; align-items: center; gap: 8px; }
.kf-trust li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E9F6E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.kf-trust b { color: var(--ink); font-weight: 700; }

/* Vitrine produit sous le titre */
.kf-stage { width: 100%; max-width: 1040px; padding: clamp(20px, 4vw, 48px); border-radius: 28px 28px 0 0; background: var(--bg-tint); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; align-items: start; text-align: left; }
.kf-robot, .kf-particles, .kf-halo, .kf-floor { display: none; }

/* Fil d'activité (interface produit) */
.kf-feed { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); font-size: 15px; }
.kf-feed-top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.kf-avatar { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: var(--accent-ink); background: var(--accent-soft); }
.kf-feed-who { display: grid; line-height: 1.3; }
.kf-feed-who b { font-weight: 700; }
.kf-feed-who small { color: var(--ink-3); font-size: 13px; }
.kf-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent-ink); }
.kf-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: kf-pulse 1.8s infinite; }
@keyframes kf-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.kf-feed ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.kf-task { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 12px; border-radius: 14px; background: var(--bg-soft); }
.kf-task time { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); padding-top: 2px; }
.kf-task p { font-weight: 600; font-size: 15px; line-height: 1.4; }
.kf-task small { display: block; margin-top: 3px; color: var(--ink-3); font-size: 13.5px; }
.kf-task small b { font-family: var(--mono); font-weight: 500; color: var(--ink-2); }
.kf-task.enter { animation: kf-task-in .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes kf-task-in { from { transform: translateY(-8px); opacity: 0; } to { transform: none; opacity: 1; } }
.kf-tag { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.kf-tag.done { color: #07603F; background: var(--accent-soft); }
.kf-tag.wait { color: var(--amber-ink); background: var(--amber-soft); }
.kf-tag.info { color: var(--blue-ink); background: var(--blue-soft); }
.kf-approve { display: flex; gap: 6px; margin-top: 10px; }
.kf-approve span { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; }
.kf-approve span + span { background: var(--bg); color: var(--ink); border: 1.5px solid var(--line-2); }

/* Carte devis (vitrine) */
.kf-quote { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); display: grid; gap: 12px; font-size: 15px; }
.kf-quote-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.kf-quote-head b { font-size: 16px; }
.kf-quote-client { color: var(--ink-3); font-size: 14px; }
.kf-quote ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.kf-quote li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.kf-quote li span:last-child { font-family: var(--mono); font-size: 13.5px; color: var(--ink); }
.kf-quote-total { display: flex; justify-content: space-between; align-items: baseline; }
.kf-quote-total b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }

/* Bande « fonctionne avec vos outils » */
.kf-toolbar { padding-block: 40px; border-bottom: 1px solid var(--line); }
.kf-toolbar p { text-align: center; color: var(--ink-3); font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.kf-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.kf-tools span { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: #8A919C; }

/* ---------- Cartes ---------- */
.kf-cards { display: grid; gap: 20px; }
.kf-cards.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kf-cards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kf-cards.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kf-card { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); transition: border-color .2s ease, box-shadow .2s ease; }
.kf-light .kf-card, .kf-band .kf-card { border-color: transparent; }
.kf-card:hover { box-shadow: var(--shadow); }
.kf-card h3 { font-size: 20px; }
.kf-card h2 { font-size: 20px; }
.kf-card p { color: var(--ink-2); font-size: 16px; }
.kf-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 16px; color: var(--ink-2); }
.kf-card li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.kf-card li::before { content: ""; width: 7px; height: 7px; margin-top: 10px; border-radius: 50%; background: var(--accent); }
.kf-glyph { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--accent-ink); background: var(--accent-soft); }
.kf-glyph svg { width: 24px; height: 24px; }
.kf-ex { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); background: var(--bg-soft); border-radius: 10px; padding: 8px 10px; }

/* ---------- Comment ça marche ---------- */
.kf-how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.kf-steps { list-style: none; margin: 24px 0 0; padding: 0; counter-reset: st; display: grid; gap: 4px; }
.kf-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 16px 0; }
.kf-steps li::before { counter-increment: st; content: counter(st); width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: 15px; display: grid; place-items: center; }
.kf-steps h3 { font-size: 18px; margin-bottom: 4px; }
.kf-steps p { color: var(--ink-2); }
.kf-chain { display: grid; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr) 24px minmax(0, 1fr); align-items: center; gap: 6px; }
.kf-node { display: grid; gap: 6px; padding: 18px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 15px; }
.kf-node b { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.kf-node.ai { border-color: var(--accent); }
.kf-node.ai b { color: var(--accent-ink); }
.kf-wire { height: 2px; background: var(--line-2); }

/* ---------- Frise des relances ---------- */
.kf-timeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding-top: 44px; }
.kf-rail { position: absolute; top: 15px; left: 10%; right: 10%; height: 2px; background: var(--line); }
.kf-rail i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; }
.kf-tl { position: relative; display: grid; gap: 6px; justify-items: center; text-align: center; }
.kf-tl::before { content: ""; position: absolute; top: -38px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.kf-tl b { font-family: var(--mono); font-size: 14px; color: var(--accent-ink); }
.kf-tl h3 { font-size: 17px; }
.kf-tl p { font-size: 15px; color: var(--ink-2); max-width: 22ch; }
.js .kf-timeline.play .kf-rail i { animation: kf-fill 1.6s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes kf-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Deux colonnes / validation ---------- */
.kf-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.kf-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.kf-checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; color: var(--ink-2); }
.kf-checks li::before { content: ""; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087A54' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; margin-top: 1px; }
.kf-checks b { color: var(--ink); }
.kf-pains li::before { background: var(--amber-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5A00' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / 14px no-repeat; }
.kf-validate { padding: 26px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 14px; }
.kf-mail-head { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink-3); }
.kf-validate h3 { font-size: 17px; }
.kf-validate p { color: var(--ink-2); border-left: 3px solid var(--accent); padding-left: 14px; }

/* ---------- Liste simple ---------- */
.kf-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.kf-rows > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.kf-rows h3 { font-size: 20px; }
.kf-rows p { color: var(--ink-2); }
.kf-rows a { font-weight: 700; white-space: nowrap; text-decoration: none; }

/* ---------- Tarifs ---------- */
.kf-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.kf-plan { position: relative; display: grid; grid-template-rows: auto auto auto auto 1fr auto; gap: 16px; padding: 32px; border-radius: 24px; background: var(--bg); border: 1px solid var(--line); }
.kf-plan.featured { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.kf-plan-badge { position: absolute; top: -14px; left: 28px; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
.kf-plan-title { font-size: 24px; }
.kf-plan-role { color: var(--ink-2); font-size: 16px; }
.kf-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.kf-price strong { font-size: 48px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.kf-price s { color: var(--ink-3); font-size: 17px; }
.kf-price small { color: var(--ink-2); font-size: 15px; }
.kf-price.quote strong { font-size: 34px; }
.kf-promo { font-size: 14px; font-weight: 700; color: var(--amber-ink); margin-top: 6px; }
.kf-quota { font-size: 14px; font-weight: 700; color: #07603F; background: var(--accent-soft); border-radius: 999px; padding: 7px 14px; justify-self: start; }
.kf-plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; align-content: start; }
.kf-plan li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; }
.kf-plan li::before { content: ""; width: 20px; height: 20px; margin-top: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E9F6E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 18px no-repeat; }
.kf-plan li.off { color: var(--ink-3); }
.kf-plan li.off::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3A9B3' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E"); }
.kf-plan .kf-btn { width: 100%; }
.checkout-error { margin-top: 8px; padding: 12px 14px; border-radius: 12px; background: var(--red-soft); color: var(--red-ink); font-size: 15px; }
.stripe-banner { display: grid; gap: 4px; margin-bottom: 28px; padding: 18px 20px; border-radius: 16px; }
.stripe-banner.success { background: var(--accent-soft); color: #07603F; }
.stripe-banner.error { background: var(--amber-soft); color: var(--amber-ink); }

.kf-cmp-box { margin-top: clamp(40px, 5vw, 64px); border: 1px solid var(--line); border-radius: 20px; overflow-x: auto; background: var(--bg); }
.kf-cmp { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 16px; }
.kf-cmp caption { text-align: left; padding: 24px 24px 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.kf-cmp th, .kf-cmp td { padding: 14px 24px; text-align: center; border-bottom: 1px solid var(--line); }
.kf-cmp th[scope="row"] { text-align: left; font-weight: 600; color: var(--ink); position: sticky; left: 0; z-index: 1; background: var(--bg); }
.kf-cmp thead th { font-size: 16px; font-weight: 800; background: var(--bg); }
.kf-cmp tr.grp th { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); background: var(--bg-soft); text-align: left; position: sticky; left: 0; }
.kf-cmp .hl { background: var(--bg-tint); }
.kf-cmp thead th.hl { color: var(--ink); }
.kf-cmp .y { color: var(--accent-ink); font-weight: 800; }
.kf-cmp .n { color: #A3A9B3; }
.kf-cmp .v { font-size: 15px; color: var(--ink-2); }
.kf-cmp tbody tr:last-child > * { border-bottom: 0; }
.kf-pay { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; border-radius: 20px; background: var(--bg-soft); }
.kf-pay ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--ink-2); font-size: 15px; }
.kf-pay li b { color: var(--ink); }
.kf-pay-icons { display: flex; gap: 10px; align-items: center; }
.kf-pay-icons img { height: 28px; width: auto; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 6px; }

/* ---------- FAQ ---------- */
.kf-faq { display: grid; gap: 0; max-width: 860px; border-top: 1px solid var(--line); }
.kf-faq details { border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.kf-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 18px; color: var(--ink); }
.kf-faq summary::-webkit-details-marker { display: none; }
.kf-faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1116' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s ease; }
.kf-light .kf-faq summary::after { background-color: #fff; }
.kf-faq details[open] summary::after { transform: rotate(45deg); }
.kf-faq details p { padding: 0 48px 22px 0; color: var(--ink-2); }

/* ---------- Appel à l'action final ---------- */
.kf-final { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: clamp(32px, 5vw, 56px); border-radius: 28px; background: var(--ink); color: #fff; margin-block: clamp(56px, 8vw, 96px); }
.kf-final h2 { font-size: clamp(26px, 3.4vw, 38px); color: #fff; }
.kf-final p { color: #C4C9D2; margin-top: 12px; max-width: 58ch; }
.kf-final a:not(.kf-btn) { color: #fff; }
.kf-final .kf-btn-glow { background: #fff; color: var(--ink); border-color: #fff; }
.kf-final .kf-btn-glow:hover { background: var(--accent-soft); border-color: var(--accent-soft); }

/* ---------- Pied de page ---------- */
.kf-footer { border-top: 1px solid var(--line); background: var(--bg-soft); }
.kf-footer-grid { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 56px var(--gutter) 36px; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.kf-footer-brand { display: grid; gap: 14px; align-content: start; }
.kf-footer-brand p { color: var(--ink-2); font-size: 15px; max-width: 38ch; }
.kf-footer nav { display: grid; gap: 10px; align-content: start; }
.kf-footer h2 { font-size: 14px; font-weight: 800; letter-spacing: 0; margin-bottom: 4px; }
.kf-footer nav a { color: var(--ink-2); font-size: 15px; text-decoration: none; }
.kf-footer nav a:hover { color: var(--ink); text-decoration: underline; }
.kf-footer-bottom { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 20px var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }

/* ---------- Pop-up vidéo ---------- */
.demo-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(14, 17, 22, .6); }
.demo-modal-content { width: min(960px, 100%); display: grid; gap: 10px; padding: 24px; border-radius: 24px; background: var(--bg); }
.demo-modal-content h2 { font-size: 22px; }
.demo-modal-content p { color: var(--ink-2); }
.demo-video { width: 100%; height: auto; border-radius: 14px; background: #000; margin-top: 6px; }
.demo-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 20px; cursor: pointer; }

/* ---------- Pages intérieures ---------- */
.kf-page-hero { padding-block: clamp(56px, 8vw, 96px) clamp(32px, 4vw, 48px); }
.kf-page-hero .kf-wrap { display: grid; gap: 18px; }
.kf-page-hero h1 { font-size: clamp(29px, 5vw, 60px); letter-spacing: -0.03em; line-height: 1.06; max-width: 20ch; overflow-wrap: break-word; hyphens: auto; }
.kf-page-hero.center .kf-wrap { justify-items: center; text-align: center; }
.kf-crumbs { font-size: 14px; color: var(--ink-3); }
.kf-crumbs a { color: var(--ink-2); text-decoration: none; }
.kf-crumbs a:hover { text-decoration: underline; }
.kf-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.kf-jump a { font-size: 15px; font-weight: 600; color: var(--ink); padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); text-decoration: none; }
.kf-jump a:hover { border-color: var(--ink); }

.kf-mission { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.kf-mission:first-of-type { border-top: 0; }
.kf-mission h2 { font-size: clamp(26px, 3vw, 34px); margin: 14px 0 16px; }
.kf-mission > div > p { color: var(--ink-2); }
.kf-mission .kf-checks { margin-top: 22px; }
.kf-flow { display: grid; gap: 10px; padding: 24px; border-radius: 24px; background: var(--bg-tint); }
.kf-flow-step { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 16px; border-radius: 14px; background: var(--bg); box-shadow: 0 1px 2px rgba(14, 17, 22, .05); }
.kf-flow-step b { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.kf-flow-step.ai { outline: 2px solid var(--accent); outline-offset: -2px; }
.kf-flow-step.ai b { color: var(--accent-ink); }
.kf-flow-step span { font-size: 15.5px; }

.kf-compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.kf-compare > div { padding: 30px; border-radius: 20px; background: var(--bg); }
.kf-compare .after { outline: 2px solid var(--ink); outline-offset: -2px; }
.kf-compare h3 { font-size: 20px; margin-bottom: 16px; }
.kf-compare ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; color: var(--ink-2); }
.kf-compare li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; }
.kf-compare .before li::before { content: "×"; color: var(--red-ink); font-weight: 800; }
.kf-compare .after li::before { content: "✓"; color: var(--accent-ink); font-weight: 800; }

/* ---------- Formulaires ---------- */
.kf-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.kf-panel { padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: var(--bg); border: 1px solid var(--line); }
.kf-light .kf-panel { border-color: transparent; }
.kf-panel h2 { font-size: 22px; margin-bottom: 8px; }
.kf-panel > p { color: var(--ink-2); }
.kf-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 22px; }
.kf-form .field { display: grid; gap: 8px; min-width: 0; }
.kf-form .field.full, .kf-form .consent, .kf-form .form-status, .kf-form .submit-row, .kf-form > .kf-full { grid-column: 1 / -1; }
.kf-form label { font-size: 14px; font-weight: 700; color: var(--ink); }
.kf-form input, .kf-form select, .kf-form textarea { width: 100%; min-width: 0; max-width: 100%; font: 500 16px var(--body); color: var(--ink); padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--bg); transition: border-color .2s ease, box-shadow .2s ease; }
.kf-form input::placeholder, .kf-form textarea::placeholder { color: #8A919C; }
.kf-form input:focus, .kf-form select:focus, .kf-form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(14, 159, 110, .18); }
.kf-form textarea { min-height: 150px; resize: vertical; }
.kf-form .consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; }
.kf-form .consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); }
.kf-form .consent label { font-weight: 500; font-size: 15px; color: var(--ink-2); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.form-status.show { display: flex; gap: 10px; align-items: center; }
.form-status.success { background: var(--accent-soft); color: #07603F; }
.form-status.error { background: var(--red-soft); color: var(--red-ink); }
.form-status-icon { font-weight: 800; }
.kf-contact-info { display: grid; gap: 10px; margin-top: 20px; font-size: 16px; color: var(--ink-2); }
.kf-contact-info b { color: var(--ink); }
.calendly-inline-widget { width: 100%; min-height: 660px; margin-top: 20px; border-radius: 16px; overflow: hidden; background: var(--bg-soft); }
.calendly-placeholder { display: grid; gap: 14px; place-items: center; align-content: center; min-height: 660px; padding: 24px; text-align: center; color: var(--ink-2); }
.calendly-inline-widget { position: relative; }
.calendly-inline-widget .calendly-spinner { display: none; }
.kf-cal-skeleton { position: absolute; inset: 0; z-index: 2; display: grid; align-content: start; gap: 14px; padding: 32px 28px; background: var(--bg-soft); transition: opacity .35s ease; }
.calendly-inline-widget[data-state="ready"] .kf-cal-skeleton { opacity: 0; pointer-events: none; }
.kf-cal-head { display: flex; align-items: center; gap: 12px; }
.kf-cal-head b { font-size: 18px; color: var(--ink); }
.kf-cal-sub { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.kf-cal-spin { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: kf-spin .8s linear infinite; }
.kf-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.kf-cal-grid i { aspect-ratio: 1; max-height: 52px; border-radius: 50%; background: linear-gradient(90deg, #E6EAEE 0%, #F3F5F7 50%, #E6EAEE 100%); background-size: 200% 100%; animation: kf-shimmer 1.4s ease-in-out infinite; justify-self: center; width: 100%; max-width: 52px; }
.kf-cal-fallback { display: none; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.calendly-inline-widget[data-state="slow"] .kf-cal-fallback,
.calendly-inline-widget[data-state="error"] .kf-cal-fallback { display: flex; }
.calendly-inline-widget[data-state="error"] .kf-cal-spin,
.calendly-inline-widget[data-state="error"] .kf-cal-grid { display: none; }
@keyframes kf-spin { to { transform: rotate(360deg); } }
@keyframes kf-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .kf-cal-spin, .kf-cal-grid i { animation: none; } }

/* ---------- Textes longs, guides ---------- */
.kf-article { display: grid; }
.kf-prose { max-width: 740px; color: var(--ink-2); font-size: 17.5px; line-height: 1.7; }
.kf-prose h2 { font-size: 28px; margin: 48px 0 14px; scroll-margin-top: calc(var(--header-h) + 16px); }
.kf-prose h3 { font-size: 18px; margin: 0 0 4px; }
.kf-prose p + p { margin-top: 14px; }
.kf-prose ul { margin: 14px 0; padding-left: 22px; display: grid; gap: 8px; }
.kf-prose strong { color: var(--ink); }
.kf-prose ol.kf-steps { padding: 0; }
.kf-updated { font-size: 14px; color: var(--ink-3); }
.kf-table-box { max-width: 740px; margin: 20px 0 8px; border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; background: var(--bg); }
.kf-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 16px; }
.kf-table th, .kf-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.kf-table thead th { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); background: var(--bg-soft); }
.kf-table tbody th { color: var(--ink); font-weight: 700; white-space: nowrap; }
.kf-table tbody tr:last-child > * { border-bottom: 0; }
.kf-disclaimer { margin-top: 28px; font-size: 14px; color: var(--ink-3); }

/* ---------- Outils (calculateur, lettre) ---------- */
.kf-tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.kf-tool > .kf-form { margin-top: 0; }
.kf-radio { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.kf-radio legend { font-size: 14px; font-weight: 700; margin-bottom: 10px; padding: 0; }
.kf-form .kf-radio label { display: flex; gap: 10px; align-items: center; font-weight: 500; font-size: 16px; cursor: pointer; }
.kf-radio input { width: 20px; height: 20px; accent-color: var(--ink); }
.kf-hint { font-size: 14px; color: var(--ink-3); }
.kf-result { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 16px); background: var(--bg-tint); border-color: transparent; }
.kf-result dl { margin: 0; display: grid; }
.kf-result dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 13px 0; border-bottom: 1px solid rgba(14, 17, 22, .08); }
.kf-result dt { color: var(--ink-2); }
.kf-result dd { margin: 0; min-width: 0; overflow-wrap: anywhere; font-family: var(--mono); color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.kf-result dl > div.total { border-bottom: 0; padding-top: 18px; }
.kf-result .total dt { color: var(--ink); font-weight: 800; }
.kf-result .total dd { font-family: var(--body); font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.kf-letter-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.kf-letter { white-space: pre-wrap; tab-size: 4; font-size: 15.5px; line-height: 1.65; color: var(--ink); background: var(--bg-soft); border-radius: 16px; padding: 26px; margin-top: 12px; overflow-wrap: anywhere; }

/* ---------- Éditeur de modèles ---------- */
.kf-vars { display: flex; flex-wrap: wrap; gap: 8px; }
.kf-vars li { list-style: none; display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); font-size: 15px; color: var(--ink-2); }
.kf-vars code { font-family: var(--mono); font-size: 13.5px; color: var(--accent-ink); }
.kf-editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 24px; }
.kf-editor .kf-form { grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
.kf-editor-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.kf-preview-inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.kf-preview-inputs input { font-size: 14px; padding: 10px 12px; }
.email-preview { margin-top: 18px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.email-header { padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg-soft); display: grid; gap: 4px; font-size: 14px; color: var(--ink-2); }
.email-subject { font-weight: 800; color: var(--ink); font-size: 15px; }
.email-body { padding: 18px; white-space: pre-wrap; font-size: 15.5px; line-height: 1.65; min-height: 180px; }
.saved-templates-list { display: grid; gap: 10px; margin-top: 14px; }
.saved-template-item { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--bg-soft); }
.saved-template-type { font-weight: 800; }
.saved-template-subject { font-size: 15px; color: var(--ink-2); }
.saved-template-actions { display: flex; gap: 8px; }
.template-action-btn { font: 700 14px var(--body); padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--bg); color: var(--ink); cursor: pointer; }
.template-action-btn.delete { color: var(--red-ink); }
.no-templates { color: var(--ink-3); }

/* ---------- Page merci ---------- */
.kf-success { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #07603F; background: var(--accent-soft); font-size: 30px; font-weight: 800; }
.kf-note { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 16px 18px; border-radius: 16px; background: var(--bg-soft); color: var(--ink-2); max-width: 640px; text-align: left; }

/* ---------- Formulaire « recommandations par e-mail » ---------- */
.kf-diag { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.kf-diag .kf-form { margin-top: 0; }
.kf-diag-points { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; color: var(--ink-2); }
.kf-diag-points li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
.kf-diag-points li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087A54' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Intégrations ---------- */
.kf-int-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.kf-int-card { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.kf-int-card:hover { border-color: var(--ink); box-shadow: var(--shadow); text-decoration: none; }
.kf-int-card b { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.kf-int-card p { color: var(--ink-2); font-size: 15.5px; }
.kf-int-card span { font-size: 15px; font-weight: 700; color: var(--accent-ink); }
.kf-pill { display: inline-block; font-style: normal; justify-self: start; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); }
.kf-pill.native { background: var(--accent-soft); color: #07603F; }

/* ---------- Calculateur : résultat principal ---------- */
.kf-big { font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); }
.kf-result .kf-big { margin-top: 2px; }

/* ---------- Bouton fixe en bas d'écran (mobile) ---------- */
.kf-sticky-cta { display: none; }
@media (max-width: 900px) {
  .kf-sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40; transform: translateY(160%); transition: transform .3s ease; }
  .kf-sticky-cta.show { transform: none; }
  .kf-sticky-cta .kf-btn { width: 100%; padding: 15px 20px; font-size: 16px; box-shadow: 0 10px 30px -10px rgba(14, 17, 22, .5); }
  .kf-diag { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Apparition au défilement (discrète, seulement si JS actif) ---------- */
.js .kf-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .kf-reveal.is-in { opacity: 1; transform: none; }
.js .kf-reveal.d1 { transition-delay: .06s; }
.js .kf-reveal.d2 { transition-delay: .12s; }
.js .kf-reveal.d3 { transition-delay: .18s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .kf-links, .kf-hide-sm { display: none; }
  .kf-burger { display: inline-flex; }
  .kf-cards.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kf-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kf-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .kf-how, .kf-split, .kf-mission, .kf-contact, .kf-editor, .kf-compare, .kf-tool, .kf-stage { grid-template-columns: minmax(0, 1fr); }
  .kf-cards.c3, .kf-cards.c2, .kf-plans { grid-template-columns: minmax(0, 1fr); }
  .kf-plans { max-width: 560px; margin-inline: auto; }
  .kf-final { grid-template-columns: minmax(0, 1fr); }
  .kf-result { position: static; }
  .kf-rows > li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .kf-cards.c4 { grid-template-columns: minmax(0, 1fr); }
  .kf-form { grid-template-columns: minmax(0, 1fr); }
  .kf-preview-inputs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kf-flow-step { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .kf-chain { grid-template-columns: minmax(0, 1fr); }
  .kf-chain .kf-wire { width: 2px; height: 18px; justify-self: center; }
  .kf-timeline { grid-template-columns: minmax(0, 1fr); padding-top: 0; padding-left: 40px; gap: 24px; }
  .kf-rail { top: 6px; bottom: 6px; left: 14px; right: auto; width: 2px; height: auto; }
  .kf-rail i { transform-origin: top; }
  .js .kf-timeline.play .kf-rail i { animation-name: kf-fill-v; }
  .kf-tl { justify-items: start; text-align: left; }
  .kf-tl::before { top: 3px; left: -33px; transform: none; }
  .kf-tl p { max-width: none; }
  .kf-footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kf-task { grid-template-columns: 40px minmax(0, 1fr); }
  .kf-task .kf-tag { grid-column: 2; justify-self: start; }
  .kf-stage { border-radius: 20px 20px 0 0; padding: 14px; }
  .kf-faq details p { padding-right: 0; }
}
@keyframes kf-fill-v { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (max-width: 400px) {
  .kf-panel .kf-btn, .kf-final .kf-btn, .kf-btn-lg { white-space: normal; text-align: center; }
  .kf-btn-lg { padding: 14px 22px; }
  .kf-nav { gap: 12px; }
  .kf-logo { font-size: 17px; gap: 8px; }
  .kf-mark { width: 26px; height: 26px; }
  .kf-actions { gap: 6px; }
  .kf-actions > .kf-btn-glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .kf-reveal { opacity: 1; transform: none; }
}
