/* KuMail public home page (front-page.php). Own small token set - the app's
   CSS never loads here. Brand teal for actions, lime for highlights, same
   Inter font files as the app. Light by default, dark with the OS or the
   app's saved theme choice. */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2-variations");
	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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(../fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--l-bg: #ffffff;
	--l-tint: #f7f7f3;
	--l-card: #ffffff;
	--l-ink: #151917;
	--l-text: #3d4541;
	--l-muted: #66706b;
	--l-line: #e7e6e0;
	--l-line-strong: #d6d5cd;
	--l-brand: #0035e7;
	--l-brand-hover: #002bbd;
	--l-on-brand: #ffffff;
	--l-brand-soft: #e6ebfd;
	--l-deep: #061a6e;
	--l-deep2: #0a2596;
	--l-lime: #c8e600;
	--l-lime-soft: #eef8e6;
	--l-lime-ink: #3f7a1e;
	--l-glow-a: rgba(0, 53, 231, .55);
	--l-glow-b: rgba(0, 53, 231, .3);
	--l-shadow: 0 1px 2px rgba(20, 25, 22, .05), 0 8px 24px -12px rgba(20, 25, 22, .12);
	--l-shadow-lg: 0 30px 80px -30px rgba(6, 26, 110, .35), 0 8px 24px -12px rgba(20, 25, 22, .18);
	--l-ring: 0 0 0 3px rgba(0, 53, 231, .35);
	--l-radius: 16px;
	--l-wrap: 1280px;
	--l-ease: cubic-bezier(.2, .8, .2, 1);
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--l-bg: #0b0e0d; --l-tint: #0f1412; --l-card: #131917; --l-ink: #eef2ef; --l-text: #c4ccc7; --l-muted: #95a09a;
		--l-line: #222b27; --l-line-strong: #33403a; --l-brand: #ddfc02; --l-brand-hover: #eaff4d; --l-on-brand: #141a00;
		--l-brand-soft: #1f2408; --l-deep: #161b06; --l-deep2: #262e0a; --l-lime: #ddfc02; --l-lime-soft: #18261a; --l-lime-ink: #eaff4d;
		--l-glow-a: rgba(221, 252, 2, .14); --l-glow-b: rgba(221, 252, 2, .14);
		--l-shadow: 0 1px 2px rgba(0, 0, 0, .4); --l-shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, .8);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--l-bg: #0b0e0d; --l-tint: #0f1412; --l-card: #131917; --l-ink: #eef2ef; --l-text: #c4ccc7; --l-muted: #95a09a;
	--l-line: #222b27; --l-line-strong: #33403a; --l-brand: #ddfc02; --l-brand-hover: #eaff4d; --l-on-brand: #141a00;
	--l-brand-soft: #1f2408; --l-deep: #161b06; --l-deep2: #262e0a; --l-lime: #ddfc02; --l-lime-soft: #18261a; --l-lime-ink: #eaff4d;
	--l-glow-a: rgba(221, 252, 2, .14); --l-glow-b: rgba(221, 252, 2, .14);
	--l-shadow: 0 1px 2px rgba(0, 0, 0, .4); --l-shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, .8);
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
html.kl-anim { scroll-behavior: auto; } /* Lenis and ScrollTrigger do the scrolling */
html.lenis, html.lenis body { height: auto; }
html.lenis.lenis-stopped { overflow: clip; }
body.kl { margin: 0; background: var(--l-bg); color: var(--l-text); font: 16px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
.kl h1, .kl h2, .kl h3 { color: var(--l-ink); margin: 0; letter-spacing: -0.025em; text-wrap: balance; }
.kl p { margin: 0; }
.kl a { color: var(--l-brand); }
.kl a:focus-visible, .kl button:focus-visible, .kl summary:focus-visible { outline: none; box-shadow: var(--l-ring); border-radius: 8px; }
.kl svg { flex: none; }
.kl-wrap { width: 100%; max-width: var(--l-wrap); margin: 0 auto; padding: 0 24px; }
.kl-narrow { max-width: 820px; }
.kl-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--l-ink); color: var(--l-bg) !important; text-decoration: none; }
.kl-skip:focus { top: 12px; }

/* Buttons */
.kl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s var(--l-ease), border-color .2s var(--l-ease), transform .2s var(--l-ease), box-shadow .2s var(--l-ease), color .2s; white-space: nowrap; }
.kl-btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; border-radius: 12px; }
.kl-btn-block { width: 100%; }
.kl .kl-btn-primary { background: var(--l-brand); color: var(--l-on-brand); box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 6px 16px -6px rgba(0, 53, 231, .55); }
.kl .kl-btn-primary:hover { background: var(--l-brand-hover); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .15) inset, 0 10px 22px -8px rgba(0, 53, 231, .6); }
.kl .kl-btn-soft { background: var(--l-card); color: var(--l-ink); border-color: var(--l-line-strong); }
.kl .kl-btn-soft:hover { border-color: var(--l-ink); }
.kl .kl-btn-ghost { background: transparent; color: var(--l-ink); }
.kl .kl-btn-ghost:hover { background: var(--l-tint); }
.kl-btn svg { width: 18px; height: 18px; transition: transform .2s var(--l-ease); }
.kl-btn:hover svg { transform: translateX(2px); }

/* Promo strip */
.kl-promo { position: relative; z-index: 51; background: linear-gradient(90deg, var(--l-deep), var(--l-deep2) 55%, var(--l-deep)); color: #eef2ff; } /* same deep brand color in light and dark mode */
.kl-promo[hidden] { display: none; }
.kl-promo-in { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; padding-right: 48px; font-size: 14px; }
.kl-promo p { margin: 0; }
.kl-promo a { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; color: #ddfc02 !important; font-weight: 700; text-decoration: none; }
.kl-promo a:hover { color: #f2ffa0 !important; text-decoration: underline; text-underline-offset: 3px; }
.kl-promo a svg { width: 16px; height: 16px; }
.kl-promo-dot { width: 8px; height: 8px; border-radius: 50%; background: #ddfc02; box-shadow: 0 0 0 0 rgba(221, 252, 2, .7); animation: kl-pulse 2s infinite; }
@keyframes kl-pulse { 70% { box-shadow: 0 0 0 8px rgba(221, 252, 2, 0); } 100% { box-shadow: 0 0 0 0 rgba(221, 252, 2, 0); } }
.kl-promo-x { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: transparent; color: inherit; opacity: .7; cursor: pointer; }
.kl-promo-x:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.kl-promo-x:focus-visible, .kl-promo a:focus-visible { outline: 2px solid #ddfc02; outline-offset: 2px; }

/* Nav: a floating glass bar */
.kl-nav { position: sticky; top: 0; z-index: 50; padding: 12px 0 0; transition: padding .25s var(--l-ease); }
.kl-nav-in { position: relative; width: calc(100% - 24px); display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; max-width: calc(var(--l-wrap) - 24px); padding: 0 10px 0 18px; border: 1px solid var(--l-line); border-radius: 18px; background: var(--l-bg); box-shadow: 0 1px 2px rgba(20, 25, 22, .04); transition: box-shadow .25s var(--l-ease), border-color .25s, height .25s var(--l-ease); }
.kl-nav.is-scrolled { padding-top: 8px; }
.kl-nav.is-scrolled .kl-nav-in { height: 58px; border-color: var(--l-line); box-shadow: 0 14px 40px -20px rgba(18, 40, 30, .35), 0 1px 2px rgba(20, 25, 22, .06); }
.kl-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 750; font-size: 18px; letter-spacing: -0.025em; color: var(--l-ink) !important; text-decoration: none; }
.kl-links { display: flex; align-items: center; gap: 2px; }
.kl-links > a { position: relative; padding: 8px 14px; border-radius: 10px; color: var(--l-text); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .15s, background .15s; }
.kl-links > a:hover { color: var(--l-ink); background: color-mix(in srgb, var(--l-tint) 80%, transparent); }
.kl-links > a.is-current { color: var(--l-ink); font-weight: 600; }
.kl-links > a.is-current::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 16px; height: 3px; margin-left: -8px; border-radius: 3px; background: var(--l-brand); }
.kl-links-cta { display: inline-flex; gap: 6px; margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--l-line); }
.kl-links-cta .kl-btn { min-height: 42px; }
.kl-menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--l-line); border-radius: 12px; background: var(--l-card); color: var(--l-ink); cursor: pointer; }

/* Hero */
.kl-hero { position: relative; margin-top: -76px; padding: 132px 0 0; overflow: hidden; background: linear-gradient(to bottom, var(--l-deep) calc(100% - 220px), transparent calc(100% - 220px)); } /* same deep brand color in light and dark mode; the preview overlaps its edge */
.kl-glow { position: absolute; left: 50%; top: -220px; width: 1100px; height: 720px; margin-left: -550px; background: radial-gradient(closest-side, var(--l-glow-a), transparent 70%), radial-gradient(closest-side at 70% 40%, var(--l-glow-b), transparent 70%); pointer-events: none; }
.kl-glow.is-lime { left: auto; right: -160px; top: 8%; width: 620px; height: 620px; margin: 0; background: radial-gradient(closest-side, rgba(221, 252, 2, .13), transparent 72%); }
.kl-hero-grid { position: absolute; left: 0; right: 0; top: 0; height: calc(100% - 220px); background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(70% 80% at 72% 38%, #000, transparent 75%); mask-image: radial-gradient(70% 80% at 72% 38%, #000, transparent 75%); pointer-events: none; }
.kl-hero-in { position: relative; }
/* Dark surfaces: the same components, re-coloured by swapping the tokens */
.kl-hero-head, .kl-flow, .kl-features > :first-child, .kl-plan.is-hot { --l-bg: rgba(255, 255, 255, .06); --l-tint: rgba(255, 255, 255, .08); --l-card: var(--l-deep); --l-ink: #fff; --l-text: rgba(255, 255, 255, .86); --l-muted: rgba(255, 255, 255, .7); --l-line: rgba(255, 255, 255, .15); --l-line-strong: rgba(255, 255, 255, .32); --l-brand: #ddfc02; --l-brand-hover: #eaff4d; --l-on-brand: #141a00; --l-brand-soft: rgba(221, 252, 2, .14); --l-lime-soft: rgba(221, 252, 2, .14); --l-lime-ink: #eaff4d; }
.kl-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border: 1px solid var(--l-line); border-radius: 999px; background: var(--l-card); font-size: 14px; font-weight: 500; color: var(--l-text); box-shadow: var(--l-shadow); }
.kl-eyebrow span { padding: 2px 10px; border-radius: 999px; background: var(--l-brand); color: var(--l-on-brand); font-size: 12px; font-weight: 700; }
.kl-hero-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 72px; align-items: center; }
.kl-hero h1 { margin: 22px 0 0; font-size: clamp(44px, 5.9vw, 88px); line-height: 1; font-weight: 720; letter-spacing: -0.045em; }
.kl-hero h1 em { display: block; }
.kl h1 em, .kl h2 em { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.03em; color: var(--l-brand); }
.kl .kl-lead { max-width: 560px; margin-top: 24px; font-size: clamp(17px, 1.4vw, 19px); color: var(--l-text); }
.kl-hero-head .kl-hero-cta { margin-top: 30px; }
.kl-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.kl-hero-note { margin-top: 14px !important; font-size: 14px; color: var(--l-muted); }

/* Hero story card: a campaign that stops itself when the reply lands */
.kl-flow { position: relative; padding-bottom: 64px; color: var(--l-text); }
.kl-flow-card { padding: 22px 24px 12px; border: 1px solid var(--l-line); border-radius: 22px; background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04)); box-shadow: 0 30px 70px -36px rgba(0, 0, 0, .6); }
.kl-flow-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--l-line); font-size: 15px; font-weight: 600; color: var(--l-ink); }
.kl-flow-top span { display: inline-flex; align-items: center; gap: 10px; }
.kl-flow-dot { width: 8px; height: 8px; border-radius: 50%; background: #ddfc02; }
.kl-flow-top b { padding: 2px 10px; border-radius: 999px; background: var(--l-brand-soft); color: var(--l-brand); font-size: 12px; font-weight: 700; }
.kl-flow-steps { position: relative; margin: 0; padding: 6px 0; list-style: none; }
.kl-flow-steps::before { content: ""; position: absolute; left: 14px; top: 34px; bottom: 34px; width: 2px; background: var(--l-line); transform-origin: top; transform: scaleY(var(--rail, 1)); }
.kl-flow-steps li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; font-size: 16px; font-weight: 600; color: var(--l-ink); }
.kl-flow-steps small { display: block; font-size: 12px; font-weight: 500; color: var(--l-muted); }
.kl-flow-steps em { font-style: normal; font-size: 13px; font-weight: 500; color: var(--l-muted); }
.kl-flow-node { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #ddfc02; color: #141a00; }
.kl-flow-steps .is-skip { opacity: .6; }
.kl-flow-steps .is-skip span { text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-skip-ink: none; }
.kl-flow-steps .is-skip small { display: inline-block; width: 100%; text-decoration: none; }
.kl-flow-steps .is-skip .kl-flow-node { background: var(--l-card); border: 2px dashed var(--l-line-strong); }
.kl-flow-reply { position: absolute; left: -32px; right: 40px; bottom: 0; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: #fff; rotate: -1.5deg; box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .65); }
.kl-flow-ava { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #0035e7; color: #fff; font-size: 13px; font-weight: 700; }
.kl-flow-reply small { display: block; font-size: 12px; color: #66706b; }
.kl-flow-reply strong { display: block; font-size: 15px; line-height: 1.35; font-weight: 600; color: #151917; }
.kl-flow-stop { position: absolute; right: 26px; top: -24px; padding: 7px 14px; border-radius: 999px; background: #ddfc02; color: #141a00; font-size: 13px; font-weight: 700; rotate: 3deg; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }

/* Product preview (pure HTML/CSS) */
.kl-stage { position: relative; margin-top: 56px; }
.kl-shot { position: relative; margin: 0 auto; max-width: 1080px; border: 1px solid var(--l-line); border-radius: 20px; background: var(--l-card); box-shadow: var(--l-shadow-lg); overflow: hidden; text-align: left; transform-origin: top center; }
.kl-shot-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--l-line); background: var(--l-tint); }
.kl-shot-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--l-line-strong); }
.kl-shot-bar span { margin-left: 12px; padding: 3px 12px; border-radius: 6px; background: var(--l-card); border: 1px solid var(--l-line); font-size: 12px; color: var(--l-muted); }
.kl-shot-body { display: grid; grid-template-columns: 150px 1fr; min-height: 360px; }
.kl-shot-side { display: flex; flex-direction: column; gap: 12px; padding: 18px 16px; border-right: 1px solid var(--l-line); background: color-mix(in srgb, var(--l-tint) 60%, var(--l-card)); }
.kl-shot-side b { width: 70%; height: 14px; margin-bottom: 8px; border-radius: 4px; background: var(--l-ink); opacity: .85; }
.kl-shot-side span { height: 10px; border-radius: 4px; background: var(--l-line); }
.kl-shot-side span.is-on { background: var(--l-lime); }
.kl-shot-main { padding: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.kl-shot-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kl-shot-kpis div { padding: 12px 14px; border: 1px solid var(--l-line); border-radius: 12px; min-width: 0; }
.kl-shot-kpis small, .kl-shot-card small { display: block; font-size: 11px; color: var(--l-muted); }
.kl-shot-kpis strong { display: block; margin-top: 6px; font-size: clamp(16px, 2.2vw, 26px); font-weight: 300; letter-spacing: -0.04em; color: var(--l-ink); font-variant-numeric: tabular-nums; }
.kl-shot-kpis em { display: inline-block; margin-top: 4px; padding: 1px 6px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 600; color: var(--l-lime-ink); background: var(--l-lime-soft); }
.kl-shot-row { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; flex: 1; }
.kl-shot-card { position: relative; padding: 14px; border: 1px solid var(--l-line); border-radius: 12px; min-width: 0; }
.kl-shot-chart svg { display: block; width: 100%; height: 150px; margin-top: 10px; }
.kl-shot-ring svg { display: block; width: 130px; height: 130px; margin: 12px auto 0; }
.kl-shot-ring strong { position: absolute; left: 0; right: 0; top: calc(50% + 6px); text-align: center; font-size: 20px; font-weight: 300; letter-spacing: -0.03em; color: var(--l-ink); }

/* Providers */
.kl-providers { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-top: 48px; }
.kl-providers p { font-size: 14px; color: var(--l-muted); }
.kl-providers p { flex: none; }
.kl-providers-clip { flex: 1 1 320px; min-width: 0; }
.kl-providers-clip.is-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.kl-providers ul { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; padding: 0; list-style: none; }
.kl-providers-clip.is-marquee ul { flex-wrap: nowrap; gap: 0; width: max-content; }
.kl-providers-clip.is-marquee li { margin-right: 10px; white-space: nowrap; }
.kl-providers li { padding: 6px 14px; border: 1px solid var(--l-line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--l-text); background: var(--l-card); }

/* Sections */
.kl-section { padding: 96px 0; }
.kl-tint { background: var(--l-tint); border-top: 1px solid var(--l-line); border-bottom: 1px solid var(--l-line); }
.kl-kicker { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--l-brand); }
.kl-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--l-lime); }
.kl-h2 { margin: 14px 0 0 !important; max-width: 960px; font-size: clamp(36px, 5.6vw, 76px); line-height: 1.02; font-weight: 700; letter-spacing: -0.04em !important; }
.kl-sub { margin: 20px 0 0 !important; max-width: 640px; font-size: 18px; color: var(--l-muted); }
.kl-left { text-align: left; margin-left: 0 !important; }
.kl-split .kl-kicker { justify-content: flex-start; }

.kl-card { position: relative; padding: 28px; border: 1px solid var(--l-line); border-radius: var(--l-radius); background: var(--l-card); box-shadow: var(--l-shadow); transition: transform .3s var(--l-ease), box-shadow .3s var(--l-ease), border-color .3s; }
.kl-card:hover { transform: translateY(-3px); border-color: var(--l-line-strong); box-shadow: var(--l-shadow), 0 18px 40px -24px rgba(6, 26, 110, .35); }
.kl-card h3 { margin-top: 18px; font-size: 19px; line-height: 1.3; font-weight: 650; }
.kl-card p { margin-top: 8px; color: var(--l-muted); font-size: 15px; }
.kl-ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--l-brand-soft); color: var(--l-brand); }
.kl-ico-sm { width: 40px; height: 40px; border-radius: 10px; }

.kl-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.kl-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.kl-feature.is-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; align-items: start; }
.kl-feature.is-wide > .kl-ico, .kl-feature.is-wide > h3, .kl-feature.is-wide > p { grid-column: 1; }
.kl-feature.is-wide > .kl-seq, .kl-feature.is-wide > .kl-reply, .kl-feature.is-wide > .kl-bars { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
.kl-seq { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.kl-seq li { position: relative; display: flex; gap: 12px; align-items: center; padding: 10px 14px; border: 1px solid var(--l-line); border-radius: 10px; font-size: 14px; color: var(--l-text); background: var(--l-bg); }
.kl-seq li b { min-width: 52px; font-size: 12px; color: var(--l-brand); }
.kl-seq li.is-stop { border-color: color-mix(in srgb, var(--l-lime) 60%, var(--l-line)); background: var(--l-lime-soft); }
.kl-seq li.is-stop b { color: var(--l-lime-ink); }
.kl-reply { display: flex; flex-direction: column; gap: 10px; }
.kl-reply div { max-width: 92%; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: var(--l-tint); border: 1px solid var(--l-line); font-size: 14px; color: var(--l-text); }
.kl-reply div span { display: block; font-size: 11px; font-weight: 700; color: var(--l-muted); margin-bottom: 2px; }
.kl-reply .is-out { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--l-brand-soft); border-color: transparent; }
.kl-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 150px; padding: 12px 14px 0; border: 1px solid var(--l-line); border-radius: 12px; background: var(--l-bg); }
.kl-bars span { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 3px; height: calc(100% - 22px); }
.kl-bars i { width: 38%; border-radius: 4px 4px 0 0; background: var(--l-ink); }
.kl-bars i.is-r { background: var(--l-lime); }
.kl-bars b { position: absolute; bottom: -20px; font-size: 11px; font-weight: 500; color: var(--l-muted); }
.kl-mini { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 40px 0 0; padding: 0; list-style: none; }
.kl-mini li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--l-text); }
.kl-mini svg { color: var(--l-brand); width: 20px; height: 20px; }

.kl-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.kl-audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.kl-aud { padding: 22px; border: 1px solid var(--l-line); border-radius: var(--l-radius); background: var(--l-card); }
.kl-aud h3 { margin-top: 14px; font-size: 17px; font-weight: 650; }
.kl-aud p { margin-top: 6px; font-size: 14px; color: var(--l-muted); }

.kl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 56px 0 0; padding: 0; list-style: none; counter-reset: s; }
.kl-rail { display: none; height: 2px; margin-top: 56px; background: var(--l-line-strong); }
.kl-rail i { display: block; height: 100%; background: var(--l-brand); transform: scaleX(0); transform-origin: left; }
.is-pinned .kl-rail { display: block; }
.is-pinned .kl-steps { margin-top: 24px; }
.is-pinned .kl-steps .kl-card { padding-top: 0; border-top: 0; }
.kl-step-n { display: block; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-style: italic; font-size: 72px; line-height: 1; color: var(--l-brand); }
/* Ruled columns instead of boxes */
.kl-why .kl-card, .kl-steps .kl-card { padding: 20px 0 0; border: 0; border-top: 2px solid var(--l-ink); border-radius: 0; background: none; box-shadow: none; }
.kl-why .kl-card:hover, .kl-steps .kl-card:hover { transform: none; box-shadow: none; }

/* Pricing */
/* Monthly / Yearly switch */
.kl-cycle { display: flex; width: max-content; max-width: 100%; margin: 32px 0 0; padding: 5px; gap: 4px; border: 1px solid var(--l-line); border-radius: 999px; background: var(--l-card); box-shadow: 0 1px 2px rgba(20, 25, 22, .05); }
.kl-cycle button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--l-text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s var(--l-ease), color .2s var(--l-ease), box-shadow .2s; }
.kl-cycle button:hover { color: var(--l-ink); }
.kl-cycle button.is-on { background: var(--l-ink); color: var(--l-bg); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .45); }
.kl-cycle button span { padding: 3px 8px; border-radius: 999px; background: var(--l-lime-soft); color: var(--l-lime-ink); font-size: 12px; font-weight: 700; white-space: nowrap; }
.kl-cycle button.is-on span { background: var(--l-lime); color: #141a00; }
.kl-cycle button:focus-visible { outline: 2px solid var(--l-brand, #0035e7); outline-offset: 2px; }
@media (max-width: 420px) { .kl-cycle button { padding: 0 14px; font-size: 14px; } }
.kl-cycle + .kl-plans { margin-top: 36px; }

.kl-plans { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 420px)); gap: 20px; margin-top: 56px; }
.kl-plan { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--l-line); border-radius: 20px; background: var(--l-card); box-shadow: var(--l-shadow); }
/* Same rows in every card (name, description, price, button, lists) - they line up side by side. */
@supports (grid-template-rows: subgrid) {
	.kl-plans { grid-template-rows: repeat(5, auto); }
	.kl-plan { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
}
.kl-plan.is-hot { background: var(--l-deep); border-color: var(--l-deep); box-shadow: var(--l-shadow-lg); }
.kl-plan.is-hot .kl-was-line span, .kl-plan.is-hot .kl-offer-ends { color: #fda4af; }
.kl-plan-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 3px 12px; border-radius: 999px; background: var(--l-lime); color: #141a00; font-size: 12px; font-weight: 700; }
.kl-plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.kl-plan h3 { font-size: 20px; font-weight: 700; }
.kl-offer { padding: 3px 10px; border-radius: 999px; background: #fff1f2; color: #be123c; font-size: 12px; font-weight: 700; white-space: nowrap; }
:root[data-theme="dark"] .kl-offer { background: rgba(225, 29, 72, .16); color: #fb7185; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kl-offer { background: rgba(225, 29, 72, .16); color: #fb7185; } }
.kl-plan-desc { margin-top: 6px !important; min-height: 1.5em; font-size: 14px; color: var(--l-muted); }
.kl-offer-ends { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: #be123c; }
.kl-plan-price { display: flex; flex-direction: column; justify-content: flex-end; padding: 18px 0 20px; }
.kl-plan-price [hidden] { display: none; }
.kl-was-line { display: flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--l-muted); }
.kl-was-line s { text-decoration-thickness: 1.5px; }
.kl-was-line span { font-weight: 700; color: #be123c; }
.kl-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; margin: 2px 0 0 !important; }
.kl-cur { font-size: 15px; font-weight: 600; color: var(--l-muted); }
.kl-price strong { font-size: 48px; line-height: 1; font-weight: 300; letter-spacing: -0.05em; color: var(--l-ink); font-variant-numeric: tabular-nums; }
.kl-per { font-size: 14px; color: var(--l-muted); white-space: nowrap; }
.kl-price-alt { margin-top: 8px !important; font-size: 13px; color: var(--l-muted); }
.kl-save { font-style: normal; font-weight: 700; color: var(--l-lime-ink); }
.kl-plan-body { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--l-line); }
.kl-plan-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.kl-plan-list + .kl-plan-list { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--l-line); }
.kl-plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--l-text); }
.kl-plan-list svg { width: 20px; height: 20px; color: var(--l-brand); margin-top: 1px; }
.kl-plan-list li.is-off { color: color-mix(in srgb, var(--l-muted) 75%, transparent); }
.kl-plan-list li.is-off svg { color: var(--l-line-strong); }
.kl-plan-limits li { justify-content: flex-start; }
.kl-lim-n { min-width: 78px; font-weight: 700; color: var(--l-ink); font-variant-numeric: tabular-nums; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* FAQ */
.kl-faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.kl-faq-grid .kl-h2 { font-size: clamp(36px, 4.4vw, 60px); }
.kl-faq-grid > :first-child { position: sticky; top: 110px; }
.kl-faq { display: flex; flex-direction: column; gap: 12px; }
.kl-faq details { border: 1px solid var(--l-line); border-radius: 14px; background: var(--l-card); transition: border-color .2s, box-shadow .2s; }
.kl-faq details[open] { border-color: var(--l-line-strong); box-shadow: var(--l-shadow); }
.kl-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 16px 20px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; color: var(--l-ink); }
.kl-faq summary::-webkit-details-marker { display: none; }
.kl-faq summary svg { color: var(--l-brand); transition: transform .25s var(--l-ease); }
.kl-faq details[open] summary svg { transform: rotate(45deg); }
.kl-faq details p { padding: 0 20px 20px; color: var(--l-muted); font-size: 16px; }

/* Final CTA */
.kl-end { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 80px); border-radius: 28px; color: #eef2ff; background: radial-gradient(120% 140% at 15% 0%, var(--l-deep2) 0%, transparent 55%), radial-gradient(90% 120% at 100% 100%, rgba(221, 252, 2, .28) 0%, transparent 60%), linear-gradient(135deg, var(--l-deep), var(--l-deep2) 60%, var(--l-deep)); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 30px 80px -40px rgba(6, 26, 110, .8); } /* same deep brand color in light and dark mode */
.kl-end .kl-h2 { color: #fff; }
.kl-end .kl-h2 em { color: #ddfc02; }
.kl-end .kl-hero-cta { margin-top: 32px; }
.kl-end .kl-sub { color: rgba(238, 242, 255, .78); }
.kl-end .kl-btn-primary { background: #ddfc02; color: #141a00; border-color: transparent; box-shadow: 0 10px 30px -10px rgba(221, 252, 2, .6); }
.kl-end .kl-btn-primary:hover { background: #eaff4d; color: #141a00; }
.kl-end .kl-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); background: transparent; }
.kl-end .kl-btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.kl-end .kl-btn:focus-visible { outline: 2px solid #ddfc02; outline-offset: 3px; }
.kl-glow.is-end { top: auto; bottom: -420px; opacity: .35; }
.kl-end > *:not(.kl-glow) { position: relative; }

/* Footer */
.kl-foot { padding: 64px 0 28px; border-top: 1px solid var(--l-line); background: var(--l-tint); }
.kl-foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.kl-foot-brand p { margin-top: 14px !important; max-width: 320px; font-size: 15px; color: var(--l-muted); }
.kl-foot-mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 15px; font-weight: 500; text-decoration: none; }
.kl-foot-mail svg { width: 18px; height: 18px; }
.kl-foot nav { display: flex; flex-direction: column; gap: 0; }
.kl-foot nav h2 { font-size: 14px; letter-spacing: 0; margin-bottom: 4px; }
.kl-foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--l-muted); text-decoration: none; font-size: 15px; }
.kl-foot nav a:hover { color: var(--l-ink); }
.kl-foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--l-line); font-size: 14px; color: var(--l-muted); }
.kl-foot-bottom a { display: inline-flex; align-items: center; min-height: 44px; color: var(--l-muted); text-decoration: none; }

/* Free-trial popup (landing.js) */
html.kl-locked { overflow: hidden; }
.kl-trial { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(10, 16, 13, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .22s var(--l-ease); }
.kl-trial[hidden] { display: none; }
.kl-trial.is-open { opacity: 1; }
.kl-trial-card { position: relative; width: 100%; max-width: 440px; padding: 34px 32px 24px; border-radius: 24px; background: var(--l-card); border: 1px solid var(--l-line); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .45); text-align: center; transform: translateY(16px) scale(.97); transition: transform .3s var(--l-ease); overflow: hidden; }
.kl-trial-card::before { content: ""; position: absolute; left: -20%; right: -20%; top: -120px; height: 240px; background: radial-gradient(closest-side, var(--l-glow-a), transparent 70%); pointer-events: none; }
.kl-trial.is-open .kl-trial-card { transform: none; }
.kl-trial-card > * { position: relative; }
.kl-trial-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: transparent; color: var(--l-muted); cursor: pointer; z-index: 1; }
.kl-trial-x:hover { background: var(--l-tint); color: var(--l-ink); }
.kl-trial-badge { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 50%; background: var(--l-brand); color: var(--l-on-brand); box-shadow: 0 0 0 8px var(--l-brand-soft), 0 14px 30px -12px rgba(0, 53, 231, .7); }
.kl-trial-badge strong { font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -0.04em; }
.kl-trial-badge span { margin-top: 2px; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.kl-trial h2 { margin-top: 22px; font-size: 26px; line-height: 1.2; font-weight: 750; }
.kl-trial p { margin-top: 10px !important; font-size: 15px; color: var(--l-muted); }
.kl-trial-list { display: flex; flex-direction: column; gap: 8px; margin: 20px 0 22px; padding: 16px 18px; list-style: none; text-align: left; border-radius: 14px; background: var(--l-tint); border: 1px solid var(--l-line); }
.kl-trial-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--l-ink); }
.kl-trial-list svg { width: 20px; height: 20px; color: var(--l-brand); }
.kl-trial-later { margin-top: 8px; min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--l-muted); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.kl-trial-later:hover { color: var(--l-ink); }
/* Phones: a card at the bottom, the page stays usable behind it */
.kl-trial.is-sheet { inset: auto 0 0 0; padding: 0 12px 12px; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; align-items: flex-end; pointer-events: none; }
.kl-trial.is-sheet .kl-trial-card { pointer-events: auto; max-width: none; padding: 18px 18px 12px; border-radius: 20px; text-align: left; transform: translateY(110%); box-shadow: 0 -10px 40px -12px rgba(0, 0, 0, .35); }
.kl-trial.is-sheet.is-open .kl-trial-card { transform: none; }
.kl-trial.is-sheet .kl-trial-badge { position: absolute; top: 16px; left: 18px; width: 52px; height: 52px; box-shadow: 0 0 0 5px var(--l-brand-soft); }
.kl-trial.is-sheet .kl-trial-badge strong { font-size: 22px; }
.kl-trial.is-sheet .kl-trial-badge span { font-size: 9px; }
.kl-trial.is-sheet h2 { margin: 2px 40px 0 66px; font-size: 18px; }
.kl-trial.is-sheet p { margin: 4px 0 0 66px !important; font-size: 13px; }
.kl-trial.is-sheet .kl-trial-list { display: none; }
.kl-trial.is-sheet .kl-btn { margin-top: 14px; min-height: 48px; }
.kl-trial.is-sheet .kl-trial-later { display: block; margin: 4px auto 0; }
@media (prefers-reduced-motion: reduce) {
	.kl-trial, .kl-trial-card { transition: none; }
}

/* Motion (landing.js). html.kl-anim is set in <head> unless reduced motion is on;
   without it, or without the libraries, everything simply shows. */
html.kl-anim:not(.kl-ready) .kl-hero-in, html.kl-anim:not(.kl-ready) .kl-nav-in { visibility: hidden; }
html.kl-anim .kl-reveal:not(.is-in) { transition: none; }
.kl-w { display: inline-block; clip-path: inset(-.14em -.14em -.2em -.14em); }
.kl-wi { display: inline-block; }
@media print { .kl-w, .kl-wi, .kl-reveal, .kl-end { clip-path: none !important; opacity: 1 !important; visibility: visible !important; transform: none !important; } }

/* Responsive */
@media (max-width: 1024px) {
	.kl-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kl-features > :last-child { grid-column: span 2; }
	.kl-split, .kl-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.kl-faq-grid > :first-child { position: static; }
	.kl-hero-top { grid-template-columns: minmax(0, 1fr); }
	.kl-flow { max-width: 560px; }
	.kl-flow-reply { left: 16px; right: 16px; }
	.kl-flow-stop { right: 16px; }
	.kl-hero-grid { -webkit-mask-image: radial-gradient(90% 60% at 60% 40%, #000, transparent 75%); mask-image: radial-gradient(90% 60% at 60% 40%, #000, transparent 75%); }
	.kl-split .kl-h2, .kl-split .kl-sub { max-width: none; }
	.kl-foot-in { grid-template-columns: 1fr 1fr; }
	.kl-foot-brand { grid-column: span 2; }
}
@media (max-width: 860px) {
	.kl-menu-btn { display: inline-flex; }
	.kl-links { position: absolute; left: 0; right: 0; top: calc(100% + 8px); display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border: 1px solid var(--l-line); border-radius: 18px; background: var(--l-bg); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .4); }
	.kl-links-cta { margin: 8px 0 0; padding: 10px 0 0; border-left: 0; border-top: 1px solid var(--l-line); }
	.kl-links.is-open { display: flex; }
	.kl-links > a { display: flex; align-items: center; min-height: 48px; padding: 0 12px; font-size: 16px; }
	.kl-links-cta { margin: 8px 0 0; display: grid; grid-template-columns: 1fr 1fr; }
	.kl-why, .kl-steps { grid-template-columns: minmax(0, 1fr); }
	.kl-plans { grid-template-columns: minmax(0, 420px); }
	.kl-shot-body { grid-template-columns: 1fr; }
	.kl-shot-side { display: none; }
}
@media (max-width: 640px) {
	.kl-wrap { padding: 0 16px; }
	.kl-nav-in { padding: 0 10px 0 14px; }
	.kl-promo-in { justify-content: flex-start; gap: 8px; padding-right: 48px; font-size: 13px; }
	.kl-promo-in p { min-width: 0; }
	.kl-promo-more, .kl-promo a svg { display: none; }
	.kl-promo a { white-space: nowrap; }
	.kl-hero { padding-top: 112px; background: linear-gradient(to bottom, var(--l-deep) calc(100% - 120px), transparent calc(100% - 120px)); }
	.kl-hero-grid { height: calc(100% - 120px); background-size: 48px 48px; }
	.kl-glow.is-lime { display: none; }
	.kl-flow-card { padding: 18px 16px 8px; }
	.kl-flow-steps li { gap: 12px; font-size: 15px; }
	.kl-stage { margin-top: 40px; }
	.kl-section { padding: 64px 0; }
	.kl-features, .kl-audiences { grid-template-columns: minmax(0, 1fr); }
	.kl-feature.is-wide, .kl-features > :last-child { grid-column: auto; display: block; }
	.kl-feature.is-wide > .kl-seq, .kl-feature.is-wide > .kl-reply, .kl-feature.is-wide > .kl-bars { margin-top: 18px; }
	.kl-shot-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kl-shot-row { grid-template-columns: 1fr; }
	.kl-shot-ring { display: none; }
	.kl-card, .kl-plan { padding: 22px; }
	.kl-hero-cta .kl-btn { width: 100%; }
	.kl-foot-in { grid-template-columns: 1fr; }
	.kl-foot-brand { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.kl-promo-dot { animation: none; }
	.kl-card, .kl-btn, .kl-btn svg { transition: none; }
	.kl-card:hover, .kl .kl-btn-primary:hover { transform: none; }
}

/* Coupon popup */
.kl-coupon { position: fixed; inset: 0; z-index: 91; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(6, 18, 14, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .24s var(--l-ease); }
.kl-coupon[hidden] { display: none; }
.kl-coupon.is-open { opacity: 1; }
.kl-coupon-card { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow: auto; padding: 34px 30px 22px; border-radius: 26px; text-align: center; color: #eef2ff; background: radial-gradient(120% 90% at 50% -10%, var(--l-deep2) 0%, transparent 60%), linear-gradient(160deg, var(--l-deep), var(--l-deep) 70%); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .6); transform: translateY(30px) scale(.86) rotate(-2deg); opacity: 0; }
.kl-coupon.is-open .kl-coupon-card { animation: kl-cp-in .7s cubic-bezier(.2, 1.4, .4, 1) forwards; }
@keyframes kl-cp-in { 0% { transform: translateY(30px) scale(.86) rotate(-2deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }
.kl-coupon-card > *:not(.kl-confetti) { position: relative; z-index: 1; }
.kl-coupon .kl-coupon-card > .kl-trial-x { position: absolute; top: 12px; right: 12px; color: rgba(255, 255, 255, .7); z-index: 2; }
.kl-coupon .kl-trial-x:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.kl-coupon-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(221, 252, 2, .14); color: #ddfc02; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.kl-coupon .kl-promo-dot { background: #ddfc02; }
.kl-coupon h2 { margin-top: 14px; color: #fff; font-size: 27px; line-height: 1.2; font-weight: 800; }
.kl-coupon p { margin: 10px auto 0 !important; max-width: 340px; font-size: 15px; color: rgba(238, 242, 255, .78); }
.kl-ticket { position: relative; display: flex; align-items: stretch; margin: 22px 0 14px; border-radius: 18px; background: #fff; color: #0a1a4d; overflow: hidden; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55); }
.kl-ticket::before, .kl-ticket::after { content: ""; position: absolute; left: 112px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--l-deep); z-index: 2; }
.kl-ticket::before { top: -11px; } .kl-ticket::after { bottom: -11px; }
.kl-ticket > div:first-child::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-18deg); animation: kl-shine 3.2s 1s infinite; pointer-events: none; }
@keyframes kl-shine { 0% { left: -60%; } 40%, 100% { left: 130%; } }
.kl-ticket-pct { position: relative; flex: 0 0 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px 6px; background: linear-gradient(160deg, #ddfc02, #b8e600); color: #141a00; overflow: hidden; }
.kl-ticket-pct strong { font-size: 36px; line-height: 1; font-weight: 900; letter-spacing: -0.04em; }
.kl-coupon.is-open .kl-ticket-pct strong { animation: kl-pop 1s .45s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes kl-pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: none; opacity: 1; } }
.kl-ticket-pct span { margin-top: 2px; font-size: 12px; font-weight: 800; letter-spacing: .2em; }
.kl-ticket-code { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px 14px 14px 22px; border-left: 2px dashed #cfe1d8; }
.kl-ticket-code > span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #5a7068; }
.kl-ticket-code button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; max-width: 100%; padding: 6px 8px 6px 14px; border: 2px dashed #0035e7; border-radius: 12px; background: #f1faf5; cursor: pointer; transition: background .15s, border-color .15s, transform .12s; }
.kl-ticket-code button:hover { background: #e3f5ea; }
.kl-ticket-code button:active { transform: scale(.97); }
.kl-ticket-code button:focus-visible { outline: 3px solid #ddfc02; outline-offset: 2px; }
.kl-ticket-code code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 20px; font-weight: 800; letter-spacing: .08em; color: #0a1a4d; overflow-wrap: anywhere; }
.kl-ticket-code em { padding: 4px 9px; border-radius: 8px; background: #0035e7; color: #fff; font-style: normal; font-size: 12px; font-weight: 700; white-space: nowrap; }
.kl-ticket-code button.is-copied { border-color: #2f9e5f; }
.kl-ticket-code button.is-copied em { background: #2f9e5f; }
.kl-coupon-count { display: flex; justify-content: center; gap: 8px; margin: 2px 0 16px; }
.kl-coupon-count span { display: flex; flex-direction: column; align-items: center; min-width: 56px; padding: 7px 4px; border-radius: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(238, 242, 255, .65); }
.kl-coupon-count b { font-size: 20px; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.kl-coupon .kl-btn-primary { background: #ddfc02; color: #141a00; border-color: transparent; box-shadow: 0 12px 30px -10px rgba(221, 252, 2, .6); }
.kl-coupon .kl-btn-primary:hover { background: #eaff4d; color: #141a00; }
.kl-coupon .kl-trial-later { color: rgba(238, 242, 255, .7); }
.kl-coupon .kl-trial-later:hover { color: #fff; }
.kl-confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.kl-confetti i { position: absolute; top: -14px; left: calc(var(--i) * 4.6% + 1%); width: 8px; height: 13px; border-radius: 2px; background: hsl(calc(var(--i) * 47), 85%, 62%); opacity: 0; }
.kl-coupon.is-open .kl-confetti i { animation: kl-fall calc(1.6s + var(--i) * 45ms) calc(.25s + var(--i) * 35ms) cubic-bezier(.3, .7, .5, 1) forwards; }
@keyframes kl-fall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(520px) rotate(calc(var(--i) * 70deg + 240deg)); } }
@media (max-width: 480px) {
	.kl-coupon-card { padding: 28px 18px 16px; }
	.kl-coupon h2 { font-size: 22px; }
	.kl-ticket::before, .kl-ticket::after { left: 88px; }
	.kl-ticket-pct { flex-basis: 88px; }
	.kl-ticket-pct strong { font-size: 28px; }
	.kl-ticket-code code { font-size: 16px; }
	.kl-coupon-count span { min-width: 48px; }
}
@media (prefers-reduced-motion: reduce) {
	.kl-coupon.is-open .kl-coupon-card { animation: none; transform: none; opacity: 1; }
	.kl-confetti, .kl-ticket > div:first-child::after { display: none; }
	.kl-coupon.is-open .kl-ticket-pct strong { animation: none; }
}
