/* Kuis Finance – site styles
   Tokens: --kf-ink and --kf-accent are injected from the settings page. */

:root {
	--kf-accent-soft: #fdf0f2;
	--kf-accent-deep: #b8293d;
	--kf-ink: #2f3136;
	--kf-accent: #d93a4f;
	--kf-ink-deep: color-mix(in srgb, var(--kf-ink) 82%, #000);
	--kf-ink-soft: color-mix(in srgb, var(--kf-ink) 8%, #fff);
	--kf-paper: #ffffff;
	--kf-mist: #f4f4f5;
	--kf-line: #dddee2;
	--kf-line-strong: #b9bbc1;
	--kf-text: #1f2125;
	--kf-muted: #5b5e66;
	--kf-ok: #1d6b4f;
	--kf-err: #a3261b;
	--kf-font: 'Plex', 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--kf-wrap: 1180px;
	--kf-gutter: clamp(16px, 4vw, 40px);
	--kf-r: 12px;
	--kf-sec: clamp(56px, 8vw, 104px);
}

/* ---------- Base (scoped so the theme cannot interfere) ---------- */
body.kf-site {
	margin: 0;
	background: var(--kf-paper);
	color: var(--kf-text);
	font-family: var(--kf-font);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.kf-site *, .kf-site *::before, .kf-site *::after { box-sizing: border-box; }
.kf-site img { max-width: 100%; height: auto; display: block; }
.kf-site h1, .kf-site h2, .kf-site h3, .kf-site h4 { font-family: var(--kf-font); color: var(--kf-ink); margin: 0; line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; }
.kf-site p { margin: 0 0 1em; }
.kf-site p:last-child { margin-bottom: 0; }
.kf-site a { color: var(--kf-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.kf-site ul, .kf-site ol, .kf-site dl, .kf-site dd { margin: 0; padding: 0; list-style: none; }
.kf-site :focus-visible { outline: 3px solid var(--kf-accent); outline-offset: 2px; border-radius: 2px; }
.kf-site main:focus { outline: none; }
.kf-ico { flex: none; }
.kf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kf-skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--kf-ink); color: #fff !important; padding: 10px 16px; border-radius: var(--kf-r); }
.kf-skip:focus { top: 12px; }

.kf-wrap { max-width: calc(var(--kf-wrap) + 2 * var(--kf-gutter)); margin: 0 auto; padding: 0 var(--kf-gutter); }
.kf-narrow { max-width: calc(800px + 2 * var(--kf-gutter)); }
.kf-sec { padding: var(--kf-sec) 0; }
.kf-sec--tint { background: var(--kf-mist); }
.kf-sec + .kf-sec:not(.kf-sec--tint):not(:has(+ .kf-sec--tint)) { }
.kf-h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); margin-bottom: 0.9em !important; max-width: 24ch; }
.kf-sub-lead { color: var(--kf-muted); margin: -1.1em 0 2em !important; max-width: 60ch; }
.kf-mt { margin-top: var(--kf-sec) !important; }
.kf-lead { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem); line-height: 1.55; color: var(--kf-muted); max-width: 56ch; }
.kf-note { font-size: 0.9rem; color: var(--kf-muted); margin-top: 1.5em !important; }
.kf-area { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; color: var(--kf-muted); margin: 0 0 1.25em; }
.kf-area .kf-ico { color: var(--kf-accent); }

/* ---------- Buttons ---------- */
.kf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.kf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px; border-radius: var(--kf-r);
	font: 500 1rem/1 var(--kf-font); text-decoration: none !important; cursor: pointer;
	border: 1.5px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.kf-btn--primary { background: var(--kf-ink); color: #fff !important; }
.kf-btn--primary:hover { background: var(--kf-ink-deep); }
.kf-btn--ghost { background: transparent; color: var(--kf-ink) !important; border-color: var(--kf-line-strong); }
.kf-btn--ghost:hover { border-color: var(--kf-ink); background: var(--kf-ink-soft); }
.kf-btn--link { padding: 0 4px; color: var(--kf-ink) !important; text-decoration: underline !important; text-underline-offset: 4px; }
.kf-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none !important; border-bottom: 1px solid var(--kf-line-strong); padding-bottom: 2px; }
.kf-more:hover { border-color: var(--kf-ink); }
.kf-more .kf-ico { width: 16px; height: 16px; transition: transform .15s; }
.kf-more:hover .kf-ico { transform: translateX(3px); }

/* ---------- Preview bar ---------- */
.kf-preview-bar { background: #fff6e0; color: #5b4310; font-size: 0.88rem; padding: 8px var(--kf-gutter); display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; border-bottom: 1px solid #ead6a6; }
.kf-preview-bar a { color: #5b4310; font-weight: 500; }

/* ---------- Header ---------- */
.kf-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--kf-line); }
.admin-bar .kf-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .kf-header { top: 0; } }
.kf-header__bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.kf-logo { flex: none; display: block; padding: 8px 0; }
.kf-logo img { height: 56px; width: auto; }
.kf-nav { display: flex; align-items: center; flex: 1; gap: 16px; }
.kf-nav__list { display: flex; align-items: center; gap: 2px; margin: 0 auto 0 8px !important; }
.kf-nav__item, .kf-login { position: relative; }
.kf-nav__link {
	display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 10px;
	font: 500 0.95rem/1 var(--kf-font); color: var(--kf-text) !important; text-decoration: none !important;
	background: none; border: 0; border-radius: var(--kf-r); cursor: pointer; white-space: nowrap;
}
.kf-nav__link .kf-ico { width: 15px; height: 15px; transition: transform .15s; }
.kf-nav__link:hover { background: var(--kf-mist); }
.kf-nav__link[aria-current], .kf-nav__link[data-current] { color: var(--kf-ink) !important; box-shadow: inset 0 -2px 0 var(--kf-accent); border-radius: 0; }
.kf-nav__link[aria-expanded="true"] .kf-ico:last-child { transform: rotate(180deg); }
.kf-nav__tools { display: flex; align-items: center; gap: 8px; }
.kf-login__btn .kf-ico:first-child { width: 16px; height: 16px; margin-right: 2px; color: var(--kf-muted); }
.kf-sub {
	position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px; padding: 8px;
	background: #fff; border: 1px solid var(--kf-line); border-radius: 10px;
	box-shadow: 0 18px 40px -18px rgba(30, 31, 35, .32);
	opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.kf-sub--right { left: auto; right: 0; min-width: 210px; }
.has-sub.is-open > .kf-sub { opacity: 1; visibility: visible; transform: none; }
.kf-sub a { display: block; padding: 10px 12px; border-radius: var(--kf-r); text-decoration: none !important; color: var(--kf-text) !important; }
.kf-sub a:hover, .kf-sub a[aria-current] { background: var(--kf-mist); }
.kf-sub strong { display: block; font-weight: 500; color: var(--kf-ink); }
.kf-sub span { display: block; font-size: 0.85rem; color: var(--kf-muted); margin-top: 2px; }
.kf-burger { display: none; margin-left: auto; align-items: center; gap: 8px; height: 44px; padding: 0 12px; background: none; border: 1.5px solid var(--kf-line-strong); border-radius: var(--kf-r); font: 500 0.95rem var(--kf-font); color: var(--kf-ink); cursor: pointer; }

@media (max-width: 1140px) {
	.kf-burger { display: inline-flex; }
	.kf-nav {
		position: fixed; inset: 76px 0 0 0; z-index: 49; display: none; flex-direction: column; align-items: stretch;
		background: #fff; padding: 16px var(--kf-gutter) 32px; overflow-y: auto; gap: 24px;
	}
	.kf-nav.is-open { display: flex; }
	.admin-bar .kf-nav { top: calc(76px + 46px); }
	.kf-nav__list { flex-direction: column; align-items: stretch; margin: 0 !important; }
	.kf-nav__link { width: 100%; height: 52px; justify-content: space-between; font-size: 1.05rem; border-bottom: 1px solid var(--kf-line); border-radius: 0; padding: 0 4px; }
	.kf-nav__link[aria-current], .kf-nav__link[data-current] { box-shadow: inset 3px 0 0 var(--kf-accent); padding-left: 12px; }
	.kf-sub { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 8px; min-width: 0; }
	.has-sub.is-open > .kf-sub { display: block; }
	.kf-nav__tools { flex-direction: column; align-items: stretch; }
	.kf-nav__tools .kf-btn { width: 100%; }
	.kf-login__btn { justify-content: flex-start !important; gap: 6px !important; }
	.kf-login__btn .kf-ico:last-child { margin-left: auto; }
}

/* ---------- Hero ---------- */
.kf-hero { position: relative; background: linear-gradient(180deg, var(--kf-paper) 0%, var(--kf-accent-soft) 100%); color: var(--kf-text); padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 48px); overflow: hidden; }
.kf-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.kf-hero__title { color: var(--kf-ink) !important; font-size: clamp(2.35rem, 1.4rem + 3.6vw, 3.9rem); line-height: 1.06; letter-spacing: -0.025em; max-width: 16ch; margin-bottom: 0.45em !important; }
.kf-hero .kf-lead { color: var(--kf-muted); }
.kf-hero__visual { position: relative; padding-top: clamp(130px, 15vw, 210px); }
.kf-hero__visual .kf-statement { position: relative; z-index: 1; width: 90%; }

/* The statement: a price overview set like a financial statement */
.kf-statement {
	background: var(--kf-paper); color: var(--kf-text); border-radius: 4px; padding: 28px 28px 24px;
	box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 30px 60px -30px rgba(0,0,0,.55);
	font-variant-numeric: tabular-nums lining-nums;
	animation: kf-rise .7s cubic-bezier(.2,.7,.2,1) both .15s;
}
@keyframes kf-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.kf-statement__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1.5px solid var(--kf-ink); font-size: 0.9rem; }
.kf-statement__head span:first-child { font-weight: 600; color: var(--kf-ink); font-size: 1rem; }
.kf-statement__head span:last-child { color: var(--kf-muted); }
.kf-statement__rows > div { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--kf-line); }
.kf-statement__rows dt { flex: 1 1 auto; min-width: 0; }
.kf-statement__rows > div::after { content: none; }
.kf-statement__rows dd { margin-left: auto; font-weight: 500; color: var(--kf-ink); text-align: right; white-space: nowrap; }
.kf-statement__rows dd small { font-size: 0.78rem; font-weight: 400; color: var(--kf-muted); margin-left: 3px; display: inline-block; min-width: 2.9em; }
.kf-statement__rows dt::after { content: ''; flex: 1; }
.kf-statement__rows > div { position: relative; }
.kf-statement__foot { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 4px; font-weight: 600; color: var(--kf-ink); }
.kf-statement__foot strong { font-size: 1.2rem; font-weight: 600; padding: 0 0 4px; border-bottom: 4px double var(--kf-accent); }
.kf-statement__note { font-size: 0.86rem; color: var(--kf-muted); margin: 10px 0 0 !important; line-height: 1.5; }
.kf-statement__link { display: inline-block; margin-top: 16px; font-size: 0.92rem; font-weight: 500; }

/* ---------- Page head (subpages) ---------- */
.kf-head { background: var(--kf-mist); padding: clamp(36px, 5vw, 64px) 0 clamp(44px, 6vw, 72px); border-bottom: 1px solid var(--kf-line); }
.kf-head--compact { padding-bottom: 36px; }
.kf-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.88rem; color: var(--kf-muted); margin-bottom: 24px; }
.kf-crumbs a { color: var(--kf-muted) !important; }
.kf-crumbs [aria-current] { color: var(--kf-text); }
.kf-head__title { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.2rem); letter-spacing: -0.022em; margin-bottom: 0.4em !important; max-width: 20ch; }
.kf-head .kf-area { margin: 1.25em 0 0; }

/* ---------- Services ---------- */
.kf-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 1.5px solid var(--kf-ink); }
.kf-service a { position: relative; display: flex; flex-direction: column; height: 100%; padding: 28px 44px 28px 0; border-bottom: 1px solid var(--kf-line); text-decoration: none !important; color: var(--kf-text) !important; }
.kf-service h3 { font-size: 1.3rem; margin-bottom: 0.5em; }
.kf-service p { color: var(--kf-muted); flex: 1; }
.kf-service__price { margin-top: 16px; font-weight: 500; color: var(--kf-ink); font-variant-numeric: tabular-nums; }
.kf-service__go { position: absolute; right: 4px; top: 30px; color: var(--kf-ink); transition: transform .15s; }
.kf-service a:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.kf-service a:hover .kf-service__go { transform: translateX(4px); }

/* ---------- Points ---------- */
.kf-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px 40px; }
.kf-points:has(> div:nth-child(6)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .kf-points:has(> div:nth-child(6)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .kf-points:has(> div:nth-child(6)) { grid-template-columns: 1fr; } }
.kf-points dt { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--kf-ink); font-size: 1.08rem; margin-bottom: 8px; }
.kf-points dt .kf-ico { color: var(--kf-accent); margin-top: 3px; stroke-width: 2.2; }
.kf-points dd { color: var(--kf-muted); padding-left: 30px; }

/* ---------- Steps (a real sequence) ---------- */
.kf-steps { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); }
.kf-steps__intro p { color: var(--kf-muted); max-width: 40ch; }
.kf-steps__list { counter-reset: s; }
.kf-steps__list li { counter-increment: s; position: relative; padding: 0 0 32px 64px; }
.kf-steps__list li::before {
	content: counter(s); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 50%;
	display: grid; place-items: center; border: 1.5px solid var(--kf-ink); color: var(--kf-ink); font-weight: 600; background: #fff; font-variant-numeric: tabular-nums;
}
.kf-steps__list li::after { content: ''; position: absolute; left: 19.5px; top: 42px; bottom: 2px; width: 1px; background: var(--kf-line-strong); }
.kf-steps__list li:last-child { padding-bottom: 0; }
.kf-steps__list li:last-child::after { display: none; }
.kf-steps__list h3 { font-size: 1.15rem; margin-bottom: 4px; padding-top: 6px; }
.kf-steps__list p { color: var(--kf-muted); }

/* ---------- About ---------- */
.kf-about { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.kf-about__photo { margin: 0; }
.kf-about__photo img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; border-radius: 4px; background: var(--kf-mist); }
.kf-about__photo figcaption { display: flex; flex-direction: column; padding-top: 14px; border-top: 1.5px solid var(--kf-ink); margin-top: 16px; }
.kf-about__photo figcaption strong { color: var(--kf-ink); font-weight: 600; }
.kf-about__photo figcaption span { color: var(--kf-muted); font-size: 0.92rem; }
.kf-about__text p { max-width: 62ch; }

/* ---------- CTA band ---------- */
.kf-cta { background: var(--kf-ink); color: rgba(255,255,255,.82); padding: clamp(48px, 7vw, 88px) 0; }
.kf-cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px 64px; flex-wrap: wrap; }
.kf-cta__title { color: #fff !important; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); margin-bottom: 0.4em !important; max-width: 22ch; }
.kf-cta p { max-width: 52ch; }
.kf-cta .kf-actions { margin-top: 0; }
.kf-cta .kf-btn--primary { background: #fff; color: var(--kf-ink) !important; }
.kf-cta .kf-btn--primary:hover { background: var(--kf-ink-soft); }
.kf-cta .kf-btn--ghost { color: #fff !important; border-color: rgba(255,255,255,.45); }
.kf-cta .kf-btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }

/* ---------- Rows (service detail) ---------- */
.kf-rows { border-top: 1.5px solid var(--kf-ink); }
.kf-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px 56px; padding: 32px 0; border-bottom: 1px solid var(--kf-line); }
.kf-row h3 { font-size: 1.3rem; margin-bottom: 6px; }
.kf-row__price { color: var(--kf-ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.kf-row__body p { color: var(--kf-muted); margin-bottom: 14px; max-width: 60ch; }

/* ---------- Split ---------- */
.kf-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.kf-split p { max-width: 60ch; }
.kf-checks { background: #fff; border: 1px solid var(--kf-line); border-radius: var(--kf-r); padding: 8px 24px; }
.kf-checks li { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--kf-line); }
.kf-checks li:last-child { border-bottom: 0; }
.kf-checks .kf-ico, .kf-plan__list .kf-ico, .kf-pack .kf-ico { color: var(--kf-accent); stroke-width: 2.2; margin-top: 3px; }

/* ---------- Plans ---------- */
.kf-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.kf-plan { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--kf-line); border-radius: var(--kf-r); background: #fff; }
.kf-plan--featured { border: 2px solid var(--kf-ink); padding: 27px; }
.kf-plan__flag { position: absolute; top: -13px; left: 26px; margin: 0 !important; background: var(--kf-accent); color: #fff; font-size: 0.8rem; font-weight: 500; padding: 4px 10px; border-radius: 3px; }
.kf-plan__name { font-size: 1.3rem; }
.kf-plan__for { color: var(--kf-muted); font-size: 0.95rem; margin: 2px 0 20px !important; }
.kf-plan__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; padding: 16px 0 0; border-top: 1px solid var(--kf-line); margin: 0 !important; font-variant-numeric: tabular-nums; }
.kf-plan__from { font-size: 0.9rem; color: var(--kf-muted); }
.kf-plan__price strong { font-size: 2.3rem; font-weight: 600; color: var(--kf-ink); letter-spacing: -0.02em; line-height: 1; }
.kf-plan__price span:last-child { color: var(--kf-muted); font-size: 0.95rem; }
.kf-plan__price .kf-plan__custom { font-size: 1.5rem; padding: 6px 0 2px; }
.kf-plan__tx { font-size: 0.88rem; color: var(--kf-muted); margin: 8px 0 18px !important; padding-bottom: 18px; border-bottom: 1px solid var(--kf-line); }
.kf-plan__list { flex: 1; margin-bottom: 24px !important; }
.kf-plan__list li, .kf-pack li { display: flex; gap: 10px; padding: 5px 0; font-size: 0.97rem; }
.kf-plan .kf-btn { width: 100%; }

/* ---------- FAQ ---------- */
.kf-faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px 64px; }
.kf-faq__list { border-top: 1.5px solid var(--kf-ink); }
.kf-faq details { border-bottom: 1px solid var(--kf-line-strong); }
.kf-faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font-weight: 500; color: var(--kf-ink); cursor: pointer; list-style: none; font-size: 1.05rem; }
.kf-faq summary::-webkit-details-marker { display: none; }
.kf-faq summary .kf-ico { transition: transform .2s; }
.kf-faq details[open] summary .kf-ico { transform: rotate(180deg); }
.kf-faq details p { color: var(--kf-muted); padding: 0 40px 22px 0; }

/* ---------- Options (controle) ---------- */
.kf-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.kf-option { padding: 32px; border: 1px solid var(--kf-line); border-top: 3px solid var(--kf-ink); border-radius: 0 0 var(--kf-r) var(--kf-r); }
.kf-option__name { font-size: 1.4rem; margin-bottom: 12px !important; }
.kf-option__price { display: flex; flex-direction: column; margin-bottom: 18px !important; font-variant-numeric: tabular-nums; }
.kf-option__price strong { font-size: 1.9rem; color: var(--kf-ink); font-weight: 600; }
.kf-option__price span { color: var(--kf-muted); font-size: 0.9rem; }
.kf-option p { color: var(--kf-muted); }
.kf-option .kf-more { margin-top: 8px; }

/* ---------- Ledger (tax) ---------- */
.kf-ledger { border-top: 1.5px solid var(--kf-ink); font-variant-numeric: tabular-nums; }
.kf-ledger__row { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--kf-line); align-items: start; }
.kf-ledger__row h3 { font-size: 1.2rem; margin-bottom: 6px; }
.kf-ledger__row p { color: var(--kf-muted); max-width: 52ch; }
.kf-ledger__price { color: var(--kf-ink) !important; font-weight: 600; white-space: nowrap; font-size: 1.15rem; }

/* ---------- Tiers (VvE overview) ---------- */
.kf-tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: end; margin-bottom: 32px !important; }
.kf-tiers li { display: flex; flex-direction: column; padding: 22px; background: var(--kf-mist); border-top: 3px solid var(--kf-ink); min-height: calc(180px + var(--lvl) * 40px); }
.kf-tiers li:last-child { background: var(--kf-ink); }
.kf-tiers li:last-child h3, .kf-tiers li:last-child p, .kf-tiers li:last-child strong { color: #fff !important; }
.kf-tiers h3 { font-size: 1.25rem; margin-bottom: 6px; }
.kf-tiers p { color: var(--kf-muted); font-size: 0.95rem; }
.kf-tiers__price { margin-top: auto !important; padding-top: 16px; font-variant-numeric: tabular-nums; }
.kf-tiers__price strong { color: var(--kf-ink); font-size: 1.2rem; }
@media (max-width: 860px) {
	.kf-tiers { grid-template-columns: 1fr 1fr; }
	.kf-tiers li { min-height: 0; }
}

/* ---------- VvE calculator ---------- */
.kf-calc { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 24px 56px; padding: clamp(24px, 4vw, 40px); background: var(--kf-mist); border-radius: var(--kf-r); align-items: start; }
.kf-calc .kf-note { grid-column: 1 / -1; margin-top: 0 !important; }
.kf-calc label { display: block; color: var(--kf-ink); margin-bottom: 12px; }
.kf-stepper { display: inline-flex; border: 1.5px solid var(--kf-ink); border-radius: var(--kf-r); overflow: hidden; background: #fff; }
.kf-stepper button { width: 52px; height: 56px; border: 0; background: #fff; color: var(--kf-ink); font-size: 1.5rem; cursor: pointer; font-family: var(--kf-font); }
.kf-stepper button:hover { background: var(--kf-ink-soft); }
.kf-stepper input { width: 84px; height: 56px; border: 0; border-left: 1px solid var(--kf-line); border-right: 1px solid var(--kf-line); text-align: center; font: 600 1.5rem var(--kf-font); color: var(--kf-ink); -moz-appearance: textfield; font-variant-numeric: tabular-nums; }
.kf-stepper input::-webkit-inner-spin-button, .kf-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.kf-calc__hint { font-size: 0.9rem; color: var(--kf-muted); margin-top: 14px !important; max-width: 34ch; }
.kf-calc__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: #fff; border-radius: var(--kf-r); overflow: hidden; }
.kf-calc__table th, .kf-calc__table td { padding: 14px 16px; text-align: right; border-bottom: 1px solid var(--kf-line); font-size: 0.97rem; }
.kf-calc__table thead th { font-size: 0.82rem; font-weight: 500; color: var(--kf-muted); border-bottom: 1.5px solid var(--kf-ink); vertical-align: bottom; }
.kf-calc__table th:first-child { text-align: left; }
.kf-calc__table tbody th { font-weight: 600; color: var(--kf-ink); }
.kf-calc__table td { color: var(--kf-muted); }
.kf-calc__table .kf-calc__total { color: var(--kf-ink); font-weight: 600; font-size: 1.1rem; }
.kf-calc__table tbody tr:last-child th, .kf-calc__table tbody tr:last-child td { border-bottom: 0; }
.kf-calc__total.is-changed { animation: kf-flash .5s ease; }
@keyframes kf-flash { from { background: color-mix(in srgb, var(--kf-accent) 22%, #fff); } to { background: transparent; } }
@media (max-width: 600px) {
	.kf-calc__table thead th:nth-child(2), .kf-calc__table thead th:nth-child(3),
	.kf-calc__table td:nth-child(2), .kf-calc__table td:nth-child(3) { display: none; }
}

.kf-packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.kf-pack { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--kf-line); border-radius: var(--kf-r); }
.kf-pack header { padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--kf-line); }
.kf-pack header h3 { font-size: 1.3rem; }
.kf-pack header p { color: var(--kf-muted); font-size: 0.95rem; margin: 4px 0 0 !important; font-variant-numeric: tabular-nums; }
.kf-pack header strong { color: var(--kf-ink); }
.kf-pack .kf-pack__inc { color: var(--kf-ink) !important; font-weight: 500; margin-top: 12px !important; }
.kf-pack h4 { font-size: 0.95rem; margin: 16px 0 6px; }
.kf-pack ul { margin-bottom: 8px !important; }
.kf-pack li { font-size: 0.92rem; color: var(--kf-text); }
.kf-pack .kf-btn { margin-top: auto; width: 100%; }
.kf-pack ul:last-of-type { margin-bottom: 24px !important; }

/* ---------- Cycle (corporaties) ---------- */
.kf-cycle { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.kf-cycle__col { padding: 28px; background: var(--kf-mist); border-radius: var(--kf-r); }
.kf-cycle__label { font-size: 0.95rem !important; color: var(--kf-muted) !important; font-weight: 500 !important; margin-bottom: 8px !important; }
.kf-cycle article { padding: 20px 0; border-bottom: 1px solid var(--kf-line-strong); }
.kf-cycle article:last-child { border-bottom: 0; padding-bottom: 0; }
.kf-cycle h4 { font-size: 1.2rem; margin-bottom: 6px; }
.kf-cycle p { color: var(--kf-muted); }

/* ---------- Contact ---------- */
.kf-contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.kf-contact__info dl { border-top: 1.5px solid var(--kf-ink); margin-bottom: 32px; }
.kf-contact__info dl > div { padding: 18px 0; border-bottom: 1px solid var(--kf-line); }
.kf-contact__info dt { font-size: 0.88rem; color: var(--kf-muted); }
.kf-contact__info dd { font-size: 1.15rem; font-weight: 500; color: var(--kf-ink); }
.kf-contact__info dd a { text-decoration: none; }
.kf-contact__info dd a:hover { text-decoration: underline; }
.kf-contact__plan { padding: 24px; background: var(--kf-mist); border-radius: var(--kf-r); margin-bottom: 24px; }
.kf-contact__plan h2 { font-size: 1.15rem; margin-bottom: 4px; }
.kf-contact__plan p { color: var(--kf-muted); margin-bottom: 16px; }
.kf-contact__form { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--kf-line); border-radius: var(--kf-r); }

/* ---------- Forms ---------- */
.kf-form__title { font-size: 1.4rem; margin-bottom: 20px !important; }
.kf-fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 18px; }
.kf-field--full { grid-column: span 6; }
.kf-field--half { grid-column: span 3; }
.kf-field--third { grid-column: span 2; }
@media (max-width: 640px) { .kf-field--half, .kf-field--third { grid-column: span 6; } }
.kf-field > label, .kf-checkset legend { display: block; font-weight: 500; font-size: 0.95rem; margin-bottom: 6px; color: var(--kf-text); padding: 0; }
.kf-req { color: var(--kf-err); }
.kf-field input:not([type=checkbox]), .kf-field select, .kf-field textarea {
	width: 100%; min-height: 48px; padding: 11px 14px; font: 400 1rem/1.4 var(--kf-font); color: var(--kf-text);
	background: #fff; border: 1.5px solid var(--kf-line-strong); border-radius: var(--kf-r); transition: border-color .15s, box-shadow .15s;
}
.kf-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%235b5e66' stroke-width='1.6'%3E%3Cpath d='M5 7.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.kf-field textarea { resize: vertical; min-height: 120px; }
.kf-field input:focus, .kf-field select:focus, .kf-field textarea:focus { outline: none; border-color: var(--kf-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--kf-ink) 16%, transparent); }
.kf-field.has-error input, .kf-field.has-error select, .kf-field.has-error textarea, .kf-field.has-error .kf-checkset { border-color: var(--kf-err); }
.kf-error { color: var(--kf-err); font-size: 0.88rem; margin: 6px 0 0 !important; }
.kf-checkset { border: 1.5px solid transparent; border-radius: var(--kf-r); padding: 0; margin: 0; min-width: 0; }
.kf-checkset__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.kf-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 0.97rem; }
.kf-checkset .kf-check { padding: 12px 14px; border: 1.5px solid var(--kf-line); border-radius: var(--kf-r); }
.kf-checkset .kf-check:has(input:checked) { border-color: var(--kf-ink); background: var(--kf-ink-soft); }
.kf-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--kf-ink); flex: none; }
.kf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kf-form__foot { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-top: 28px; }
.kf-form__foot p { color: var(--kf-muted); font-size: 0.92rem; margin: 0; }
.kf-notice { padding: 20px 24px; border-radius: var(--kf-r); margin-bottom: 20px; }
.kf-notice h3 { font-size: 1.2rem; margin-bottom: 6px; color: var(--kf-ok); }
.kf-notice--ok { background: #e9f4ef; border: 1px solid #b9dccb; }
.kf-notice--err { background: #fbeceb; border: 1px solid #ecc2be; color: var(--kf-err); }

.kf-tabs { display: flex; gap: 4px; border-bottom: 1.5px solid var(--kf-line); margin-bottom: 32px; overflow-x: auto; }
.kf-tabs button { padding: 14px 18px; border: 0; background: none; font: 500 1rem var(--kf-font); color: var(--kf-muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1.5px; white-space: nowrap; }
.kf-tabs button[aria-selected="true"] { color: var(--kf-ink); border-bottom-color: var(--kf-ink); }

/* ---------- Shop ---------- */
.kf-books { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px 24px; }
.kf-book { display: flex; flex-direction: column; }
.kf-book__cover { display: block; background: var(--kf-mist); border-radius: 4px; overflow: hidden; margin-bottom: 16px; }
.kf-book__cover img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.kf-book__body { display: flex; flex-direction: column; flex: 1; }
.kf-book h2 { font-size: 1.12rem; margin-bottom: 8px; }
.kf-book h2 a { text-decoration: none; }
.kf-book h2 a:hover { text-decoration: underline; }
.kf-book p { color: var(--kf-muted); font-size: 0.95rem; }
.kf-book__price { margin-top: auto !important; padding: 12px 0; font-weight: 600; color: var(--kf-ink) !important; font-variant-numeric: tabular-nums; }
.kf-book__price del { color: var(--kf-muted); font-weight: 400; margin-right: 6px; }
.kf-book__price ins { text-decoration: none; }

/* WooCommerce pages inside our layout */
.kf-wc .button, .kf-wc button.button, .kf-wc .wc-block-components-button {
	background: var(--kf-ink) !important; color: #fff !important; border-radius: var(--kf-r) !important; font-family: var(--kf-font) !important; font-weight: 500 !important; padding: 12px 22px !important; border: 0 !important;
}
.kf-wc .price { color: var(--kf-ink) !important; font-weight: 600; }
.kf-wc .product_title { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); margin-bottom: 12px; }

/* Legal and other plain content */
.kf-prose { font-size: 1.02rem; }
.kf-prose h2 { font-size: 1.5rem; margin: 1.6em 0 0.5em; }
.kf-prose h3 { font-size: 1.2rem; margin: 1.4em 0 0.4em; }
.kf-prose ul, .kf-prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.kf-prose ul { list-style: disc; }
.kf-prose ol { list-style: decimal; }
.kf-prose li { margin-bottom: 0.35em; }
/* Neutralise leftover Elementor markup in old page content */
.kf-prose .elementor-section, .kf-prose .elementor-container, .kf-prose .elementor-column { width: auto !important; max-width: none !important; padding: 0 !important; display: block !important; }

/* ---------- Footer ---------- */
.kf-footer { background: var(--kf-mist); border-top: 1px solid var(--kf-line); padding: 64px 0 0; font-size: 0.95rem; }
.kf-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.kf-footer__brand img { height: 64px; width: auto; margin-bottom: 16px; }
.kf-footer__brand p { color: var(--kf-muted); max-width: 32ch; }
.kf-footer__h { font-size: 0.95rem !important; margin-bottom: 14px !important; }
.kf-footer li { margin-bottom: 8px; }
.kf-footer a { color: var(--kf-text) !important; text-decoration: none; }
.kf-footer a:hover { text-decoration: underline; color: var(--kf-ink) !important; }
.kf-footer__contact li a, .kf-footer__contact li span { display: inline-flex; gap: 10px; align-items: flex-start; }
.kf-footer__contact .kf-ico { color: var(--kf-accent); width: 18px; height: 18px; margin-top: 3px; }
.kf-footer__social { display: flex; gap: 20px; margin-top: 16px !important; }
.kf-footer__social a { text-decoration: underline !important; }
.kf-footer__base { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--kf-line); color: var(--kf-muted); font-size: 0.88rem; }

/* ---------- Focus: VvE and vastgoed ---------- */
.kf-focus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.kf-focus__item { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 44px); background: var(--kf-mist); border-top: 4px solid var(--kf-accent); border-radius: 0 0 var(--kf-r) var(--kf-r); }
.kf-focus__item h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 12px; }
.kf-focus__text { color: var(--kf-muted); max-width: 52ch; }
.kf-checks--bare { background: none; border: 0; padding: 0; margin: 8px 0 20px !important; }
.kf-checks--bare li { padding: 9px 0; border-bottom: 1px solid var(--kf-line-strong); }
.kf-checks--bare li:last-child { border-bottom: 0; }
.kf-focus__price { margin-top: auto !important; font-weight: 600; color: var(--kf-ink); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.kf-focus__item .kf-actions { margin-top: 16px; }
.kf-focus-sec + .kf-sec { padding-top: 0; }
@media (max-width: 860px) { .kf-focus { grid-template-columns: 1fr; } }

/* ---------- Scope (vastgoed taken) ---------- */
.kf-scope { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; border-top: 1.5px solid var(--kf-ink); padding-top: 28px; }
.kf-scope h3 { font-size: 1.2rem; margin-bottom: 12px; }
.kf-scope li { display: flex; gap: 10px; padding: 6px 0; font-size: 0.97rem; }
.kf-scope .kf-ico { color: var(--kf-accent); stroke-width: 2.2; margin-top: 3px; }
@media (max-width: 860px) { .kf-scope { grid-template-columns: 1fr; } }

/* ---------- Vastgoed calculator ---------- */
.kf-vg { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 24px; align-items: stretch; }
.kf-vg__form { background: #fff; border: 1px solid var(--kf-line); border-radius: var(--kf-r); padding: clamp(20px, 3vw, 32px); display: grid; gap: 24px; }
.kf-vg fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.kf-vg legend, .kf-vg__count label { display: block; font-weight: 500; margin-bottom: 10px; color: var(--kf-text); padding: 0; }
.kf-vg__types { display: grid; gap: 8px; }
.kf-vg__type { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--kf-line); border-radius: var(--kf-r); cursor: pointer; }
.kf-vg__type:has(input:checked) { border-color: var(--kf-ink); background: var(--kf-ink-soft); }
.kf-vg__type input { width: 18px; height: 18px; margin: 0; accent-color: var(--kf-ink); }
.kf-vg__type strong { display: block; color: var(--kf-ink); font-weight: 600; }
.kf-vg__type small { display: block; color: var(--kf-muted); font-size: 0.88rem; }
.kf-vg__rate { font-weight: 600; color: var(--kf-ink); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 1rem; text-align: right; }
.kf-vg__rate small { display: block; font-weight: 400; color: var(--kf-muted); font-size: 0.82rem; }
.kf-vg__rent label { display: block; font-weight: 500; margin-bottom: 10px; }
.kf-money { display: inline-flex; align-items: center; border: 1.5px solid var(--kf-ink); border-radius: var(--kf-r); background: #fff; overflow: hidden; }
.kf-money span { padding: 0 4px 0 16px; font: 600 1.3rem var(--kf-font); color: var(--kf-muted); }
.kf-money input { width: 130px; height: 56px; border: 0; font: 600 1.5rem var(--kf-font); color: var(--kf-ink); padding: 0 12px 0 4px; font-variant-numeric: tabular-nums; -moz-appearance: textfield; background: transparent; }
.kf-money input::-webkit-inner-spin-button { -webkit-appearance: none; }
.kf-money:focus-within { box-shadow: 0 0 0 3px color-mix(in srgb, var(--kf-ink) 16%, transparent); }
.kf-vg__year { color: #fff; font-weight: 500; margin: 8px 0 0 !important; font-variant-numeric: tabular-nums; }
.kf-vg__row { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-start; }
.kf-vg__scope { display: grid; gap: 10px; }
.kf-vg__result { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: clamp(24px, 3vw, 32px); background: var(--kf-ink); color: #fff; border-radius: var(--kf-r); font-variant-numeric: tabular-nums; }
.kf-vg__label { color: rgba(255,255,255,.75); margin: 0 !important; }
.kf-vg__total { font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 0 !important; padding-bottom: 6px; border-bottom: 4px double var(--kf-accent); align-self: flex-start; }
.kf-vg__total.is-changed { animation: kf-pulse .45s ease; }
@keyframes kf-pulse { from { opacity: .4; } to { opacity: 1; } }
.kf-vg__calc { color: rgba(255,255,255,.75); font-size: 0.92rem; margin: 4px 0 18px !important; }
.kf-vg__result .kf-btn--primary { background: #fff; color: var(--kf-ink) !important; align-self: flex-start; }
.kf-vg__result .kf-btn--primary:hover { background: var(--kf-ink-soft); }
.kf-vg__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 56px; margin-top: 40px; }
.kf-vg__pct { padding: 24px; background: #fff; border-left: 4px solid var(--kf-accent); border-radius: 0 var(--kf-r) var(--kf-r) 0; }
.kf-vg__pct h3, .kf-vg__h { font-size: 1.15rem; margin-bottom: 8px; }
.kf-vg__pct p { color: var(--kf-muted); }
.kf-vg__extra { border-top: 1.5px solid var(--kf-ink); font-variant-numeric: tabular-nums; }
.kf-vg__extra > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--kf-line-strong); font-size: 0.95rem; }
.kf-vg__extra dt { color: var(--kf-text); }
.kf-vg__extra dd { color: var(--kf-ink); font-weight: 500; white-space: nowrap; }
@media (max-width: 960px) { .kf-vg, .kf-vg__more { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .kf-vg__type { grid-template-columns: auto 1fr; } .kf-vg__rate { grid-column: 2; } }

/* Hero price card row links */
.kf-statement__rows dt a { color: var(--kf-text) !important; text-decoration: none; }
.kf-statement__rows dt a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.kf-hero__grid, .kf-steps, .kf-about, .kf-split, .kf-faq, .kf-contact, .kf-calc, .kf-row { grid-template-columns: 1fr; }
	.kf-about__photo { max-width: 360px; }
	.kf-footer__grid { grid-template-columns: 1fr 1fr; }
	.kf-cycle { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	body.kf-site { font-size: 16px; }
	.kf-header__bar { min-height: 68px; }
	.kf-nav { top: 68px; }
	.kf-logo img { height: 48px; }
	.kf-statement { padding: 22px 18px 18px; }
	.kf-statement__rows dd small { min-width: 0; }
	.kf-services { grid-template-columns: 1fr; }
	.kf-actions .kf-btn { flex: 1 1 100%; }
	.kf-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.kf-tiers { grid-template-columns: 1fr; }
	.kf-ledger__row { grid-template-columns: 1fr; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
	.kf-site *, .kf-site *::before, .kf-site *::after { animation: none !important; transition: none !important; }
}


/* ================================================================
   Livelier layer: colour, icons, motion
   ================================================================ */

/* Buttons: pill shape, red primary */
.kf-btn { border-radius: 999px; padding: 0 24px; transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; }
.kf-btn--primary { background: var(--kf-accent); }
.kf-btn--primary:hover { background: var(--kf-accent-deep); transform: translateY(-1px); box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--kf-accent) 70%, transparent); }
.kf-btn--ghost { background: #fff; }
.kf-header .kf-btn--primary { min-height: 44px; white-space: nowrap; padding: 0 20px; }
.kf-cta .kf-btn--primary, .kf-vg__result .kf-btn--primary { background: var(--kf-accent); color: #fff !important; }
.kf-cta .kf-btn--primary:hover, .kf-vg__result .kf-btn--primary:hover { background: var(--kf-accent-deep); }
.kf-cta .kf-btn--ghost { background: transparent; }

/* Icon tiles */
.kf-badge { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--kf-accent-soft); color: var(--kf-accent); flex: none; }
.kf-badge .kf-ico { width: 26px; height: 26px; stroke-width: 1.7; }
.kf-head__title { display: flex; align-items: center; gap: 16px; }
.kf-head__title .kf-badge { width: 56px; height: 56px; }
.kf-head__title .kf-badge .kf-ico { width: 30px; height: 30px; }

/* The logo chart */
.kf-chart { display: block; }
.kf-chart__bar { fill: color-mix(in srgb, var(--kf-ink) 9%, transparent); transform-box: fill-box; transform-origin: 50% 100%; animation: kf-bar .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(.08s * var(--i)); }
.kf-chart__line, .kf-chart__head { fill: none; stroke: var(--kf-accent); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.kf-chart__line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: kf-draw 1.3s cubic-bezier(.6,0,.2,1) .35s forwards; }
.kf-chart__head { opacity: 0; animation: kf-fade .3s ease 1.55s forwards; }
@keyframes kf-bar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes kf-draw { to { stroke-dashoffset: 0; } }
@keyframes kf-fade { to { opacity: 1; } }
.kf-chart--hero { position: absolute; top: 0; right: -2%; width: 100%; max-width: none; height: auto; }
.kf-chart--head { position: absolute; right: max(16px, calc((100% - var(--kf-wrap)) / 2)); bottom: 0; width: min(420px, 40%); height: auto; opacity: .55; pointer-events: none; }
.kf-chart--head .kf-chart__line, .kf-chart--head .kf-chart__head { stroke-width: 7; }
.kf-head { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--kf-mist) 0%, var(--kf-accent-soft) 100%); }
.kf-head .kf-wrap { position: relative; }
@media (max-width: 760px) { .kf-chart--head { width: 70%; opacity: .25; } }

/* Statement card on the light hero */
.kf-statement { border-radius: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 24px 48px -20px rgba(47, 49, 54, .35); }

/* Trust band */
.kf-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px) !important; }
.kf-trust li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: rgba(255,255,255,.75); border: 1px solid color-mix(in srgb, var(--kf-accent) 14%, transparent); border-radius: 14px; }
.kf-trust strong { display: block; color: var(--kf-ink); font-weight: 600; font-size: 1.05rem; line-height: 1.25; }
.kf-trust span span, .kf-trust li > span:last-child { color: var(--kf-muted); font-size: 0.9rem; line-height: 1.35; }
@media (max-width: 1000px) { .kf-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .kf-trust { grid-template-columns: 1fr; } }

/* Focus cards: white cards with an accent stripe, lift on hover */
.kf-focus__item { background: #fff; border: 1px solid var(--kf-line); border-top: 4px solid var(--kf-accent); border-radius: 16px; transition: transform .2s, box-shadow .2s; }
.kf-focus__item:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -24px rgba(47, 49, 54, .4); }
.kf-focus__item .kf-badge { margin-bottom: 18px; }
.kf-focus-sec { background: linear-gradient(180deg, var(--kf-accent-soft) 0%, var(--kf-paper) 55%); padding-top: clamp(40px, 6vw, 72px); }

/* Services with icons */
.kf-service a { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-content: start; padding-right: 44px; }
.kf-service a > :not(.kf-badge):not(.kf-service__go) { grid-column: 2; }
.kf-service .kf-badge { grid-row: 1 / span 3; }
.kf-service:not(:has(.kf-badge)) a { display: flex; }
.kf-service a:hover .kf-badge { background: var(--kf-accent); color: #fff; }
.kf-badge { transition: background-color .2s, color .2s; }

/* Softer, warmer tints */
.kf-sec--tint { background: var(--kf-mist); }
.kf-points dt .kf-ico { color: var(--kf-accent); }
.kf-steps__list li::before { border-color: var(--kf-accent); color: var(--kf-accent); }
.kf-steps__list li:hover::before { background: var(--kf-accent); color: #fff; }
.kf-plan, .kf-pack, .kf-option, .kf-calc, .kf-contact__form, .kf-vg__form, .kf-vg__result, .kf-checks { border-radius: 16px; }
.kf-plan { transition: transform .2s, box-shadow .2s; }
.kf-plan:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -24px rgba(47, 49, 54, .35); }
.kf-plan--featured { border-color: var(--kf-accent); }
.kf-tiers li { border-top-color: var(--kf-accent); border-radius: 0 0 12px 12px; }
.kf-cta { position: relative; overflow: hidden; }
.kf-cta::after { content: ""; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: color-mix(in srgb, var(--kf-accent) 22%, transparent); pointer-events: none; }
.kf-cta__inner { position: relative; z-index: 1; }

/* Reveal on scroll (only when JS adds .kf-js; content stays visible without it) */
.kf-js .kf-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.kf-js .kf-reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
	.kf-hero__visual { padding-top: clamp(110px, 30vw, 200px); }
	.kf-chart--hero { width: 100%; right: 0; }
	.kf-hero__visual .kf-statement { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.kf-chart__line { stroke-dashoffset: 0; }
	.kf-chart__head { opacity: 1; }
	.kf-js .kf-reveal { opacity: 1; transform: none; }
}

/* VvE maatwerk-pakket */
.kf-calc__custom td { color: var(--kf-muted); }
.kf-calc__custom .kf-calc__total { color: var(--kf-accent); font-size: 1rem; }
.kf-pack__custom { font-size: 0.88rem !important; }
