/* ============================================================
   Kumplo — Design Tokens
   Vibrant purple accent · cool modern slate neutrals
============================================================ */
:root {
  /* Brand — vibrant purple from kumplo mark */
  --k-purple:        #6F2DFF;
  --k-purple-hover:  #5B1FE0;
  --k-purple-active: #4A14C2;
  --k-purple-700:    #5417D1;
  --k-purple-300:    #C9B5FF;
  --k-purple-200:    #DDD0FF;
  --k-purple-100:    #ECE3FF;
  --k-purple-50:     #F5F0FF;
  --k-purple-tint:   #F9F6FF;

  /* Cool neutrals (slate-based, modern, tech) */
  --ink-900: #0B1020;   /* deep ink, headers */
  --ink-800: #141A2E;
  --ink-700: #1E2540;   /* primary text */
  --ink-600: #303852;
  --ink-500: #5A6478;   /* secondary text */
  --ink-400: #828EA3;   /* tertiary text */
  --ink-300: #B8BFCC;   /* muted, placeholders */
  --ink-200: #D6DAE3;
  --ink-100: #E5E7EE;
  --ink-50:  #EEF0F5;

  /* Surfaces */
  --bg:        #F6F7FB;        /* page background, cool subtle */
  --bg-2:      #ECEEF5;        /* canvas behind cards */
  --surface:   #FFFFFF;        /* cards, panels */
  --surface-2: #F4F5F9;        /* nested surface, hover */
  --surface-3: #E8EAF1;

  /* Lines */
  --line:        #E8EAF1;
  --line-strong: #D3D7E1;

  /* Semantic — cool palette aligned */
  --ok:        #10A974;
  --ok-bg:     #E6F7EF;
  --ok-line:   #B7E5CF;

  --warn:      #D97706;
  --warn-bg:   #FEF3E2;
  --warn-line: #F7D9A8;

  --err:       #DC2440;
  --err-bg:    #FCEAEE;
  --err-line:  #F4B6C2;

  --info:      #2563EB;
  --info-bg:   #E6EDFB;
  --info-line: #B7C8F0;

  /* Radius */
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* Shadow — soft, slightly cool/purple tint */
  --shadow-1: 0 1px 0 rgba(15,18,35,0.03), 0 1px 2px rgba(15,18,35,0.04);
  --shadow-2: 0 1px 0 rgba(15,18,35,0.03), 0 8px 24px -12px rgba(48,32,128,0.14);
  --shadow-3: 0 2px 0 rgba(15,18,35,0.03), 0 24px 56px -22px rgba(48,32,128,0.22);
  --shadow-purple: 0 8px 32px -8px rgba(111,45,255,0.25);

  /* Type — Geist is modern, technical, accessible */
  --font-display: "Geist", "Inter", system-ui, sans-serif;
  --font-sans:    "Geist", system-ui, -apple-system, sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, "SF Mono", monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== Reset / base ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "ss03", "cv11";
}
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }

body.l-body button {
  border-radius: var(--r-pill) !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color .12s ease, border-color .12s ease, color .12s ease, opacity .12s ease !important;
}

body.l-body button:hover {
  transform: none !important;
  box-shadow: none !important;
}
input, textarea, select { font-family: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

/* ===== Typography utilities ===== */
.t-display { font-family: var(--font-display); font-weight: 600; font-size: 44px; line-height: 1.04; letter-spacing: -0.03em; }
.t-h1      { font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1.1;  letter-spacing: -0.025em; }
.t-h2      { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.18; letter-spacing: -0.018em; }
.t-h3      { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.25; letter-spacing: -0.012em; }
.t-body-lg { font-size: 15px; line-height: 1.55; }
.t-body    { font-size: 14px; line-height: 1.5; }
.t-body-sm { font-size: 13px; line-height: 1.45; }
.t-caption { font-size: 12px; line-height: 1.4; color: var(--ink-500); }
.t-eyebrow { font-size: 11px; line-height: 1; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--ink-500); }
.t-num     { font-feature-settings: "tnum" 1, "lnum" 1, "ss01" 1; font-variant-numeric: tabular-nums; }
.t-mono    { font-family: var(--font-mono); }

/* ===== Helpers ===== */
.hide-scroll::-webkit-scrollbar { display: none; }
.hide-scroll { scrollbar-width: none; }
.fade-in { animation: fadeIn 280ms var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@keyframes pulseDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(1.4); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* ===== Status pills ===== */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 500; line-height: 1.4;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--ok    { color: var(--ok);   background: var(--ok-bg);   border-color: var(--ok-line); }
.pill--warn  { color: var(--warn); background: var(--warn-bg); border-color: var(--warn-line); }
.pill--err   { color: var(--err);  background: var(--err-bg);  border-color: var(--err-line); }
.pill--info  { color: var(--info); background: var(--info-bg); border-color: var(--info-line); }
.pill--purple{ color: var(--k-purple); background: var(--k-purple-50); border-color: var(--k-purple-200); }
.pill--neutral { color: var(--ink-600); background: var(--surface-2); border-color: var(--line); }

/* ===== Card ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.card--ghost {
  background: transparent;
  border: 1px dashed var(--line-strong);
}
.card--accent {
  background: linear-gradient(180deg, var(--k-purple-tint) 0%, var(--surface) 100%);
  border: 1px solid var(--k-purple-200);
}
.card--dark {
  background: linear-gradient(140deg, #0E0825 0%, #1A0F3C 60%, #281157 100%);
  border: 1px solid #2A1B5A;
  color: #FFFFFF;
}

/* ===== Buttons — fully rounded (pill) for visual consistency ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 16px;
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500;
  transition: all .15s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--k-purple); color: #fff;
  box-shadow: none;
}
.btn--primary:hover { background: var(--k-purple-hover); box-shadow: none; }
.btn--secondary { background: var(--surface); color: var(--ink-700); border: 1px solid var(--line); }
.btn--secondary:hover { background: var(--surface-2); border-color: var(--line-strong); }
.btn--ghost { color: var(--ink-500); }
.btn--ghost:hover { background: var(--surface-2); color: var(--ink-700); }
.btn--dark { background: var(--ink-900); color: #fff; }
.btn--dark:hover { background: var(--ink-800); }
.btn--lg { height: 44px; padding: 0 22px; font-size: 14px; border-radius: var(--r-pill); }
.btn--sm { height: 30px; padding: 0 12px; font-size: 12px; border-radius: var(--r-pill); }

/* ===== Inputs — fully rounded too ===== */
.input {
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 13px;
  color: var(--ink-700);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
  width: 100%;
}
.input::placeholder { color: var(--ink-300); }
.input:focus {
  outline: none;
  border-color: var(--k-purple);
  box-shadow: 0 0 0 4px rgba(111,45,255,0.14);
}
.input-affix {
  display: inline-flex; align-items: center;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  padding: 0 14px;
  gap: 8px;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.input-affix:focus-within { border-color: var(--k-purple); box-shadow: 0 0 0 4px rgba(111,45,255,0.14); }
.input-affix input { border: 0; outline: none; background: none; height: 100%; flex: 1; min-width: 0; font-size: 13px; }

/* ===== Chip ===== */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 12px; color: var(--ink-600);
  transition: all .12s var(--ease);
}
.chip:hover { background: var(--surface-2); }
.chip--active { background: var(--k-purple); color: #fff; border-color: var(--k-purple); }

/* ===== Tooltip ===== */
.tt { position: relative; }
.tt[data-tt]:hover::after {
  content: attr(data-tt);
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: var(--ink-900); color: #fff; font-size: 11px;
  padding: 5px 8px; border-radius: 6px; white-space: nowrap; z-index: 50;
}

/* ===== Mesh / decoration ===== */
.purple-glow {
  position: absolute;
  pointer-events: none;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(111,45,255,0.30) 0%, rgba(111,45,255,0) 70%);
  filter: blur(20px);
}

/* ============================================================
   Kumplo Landing — clean light theme · subtle visual richness
============================================================ */

/* Subtle gradient shift in mesh backgrounds */
@keyframes meshShift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}
@keyframes meshShift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 30px) scale(1.08); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes revealUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@keyframes textShimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Cursor spotlight follow (light variant) */
.spotlight {
  pointer-events: none;
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(111,45,255,0.10) 0%, rgba(111,45,255,0) 60%);
  filter: blur(40px);
  transform: translate(-50%, -50%);
  transition: opacity .3s ease;
  z-index: 1;
}

/* ============================================================
   Landing sections
============================================================ */

.l-section {
  position: relative;
  width: 100%;
  padding: 120px 32px;
}
.l-section--sm { padding: 80px 32px; }
.l-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Headings */
.l-h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--ink-900);
}
.l-h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}
.l-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--k-purple);
}
.l-lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-500);
}

/* Gradient emphasis text — purple flow */
.l-grad-text {
  background: linear-gradient(90deg, var(--k-purple) 0%, var(--k-purple-700) 40%, var(--k-purple) 60%, var(--k-purple-700) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textShimmer 8s linear infinite;
}

/* Hero CTA pill bar */
.l-cta-bar {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 5px 5px 5px 20px;
  gap: 12px;
  width: 100%;
  max-width: 460px;
  transition: border-color .15s ease, box-shadow .15s ease;
  box-shadow: var(--shadow-1);
}
.l-cta-bar:focus-within {
  border-color: var(--k-purple);
  box-shadow: 0 0 0 4px rgba(111,45,255,0.14);
}
.l-cta-bar input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: var(--ink-700);
  height: 46px;
  font-size: 14px;
}
.l-cta-bar input::placeholder { color: var(--ink-300); }
.l-cta-bar button {
  height: 46px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--k-purple) 0%, var(--k-purple-700) 100%);
  color: #FFF;
  font-weight: 600;
  font-size: 13.5px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .12s ease, box-shadow .15s ease;
  flex-shrink: 0;
  box-shadow: none;
}
.l-cta-bar button:hover {
  transform: scale(1.02);
  box-shadow: none;
}

/* Light glass card (frosted on top of subtle gradient backgrounds) */
.l-glass-light {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
}

/* Decorative purple glow blobs (very soft on white) */
.l-blob {
  position: absolute;
  pointer-events: none;
  filter: blur(60px);
  border-radius: 50%;
}

/* Subtle grid overlay (lighter for light bg) */
.l-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15,18,35,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,18,35,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  pointer-events: none;
}

/* Hero badge */
.l-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}

/* Feature card */
.l-feat {
  position: relative;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .2s var(--ease), box-shadow .25s var(--ease);
}
.l-feat:hover {
  transform: translateY(-4px);
  border-color: var(--k-purple-200);
  box-shadow: 0 24px 48px -24px rgba(111,45,255,0.18);
}
.l-feat::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(111,45,255,0.08) 0%, rgba(111,45,255,0) 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}
.l-feat:hover::after { opacity: 1; }
.l-feat__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--k-purple) 0%, var(--k-purple-700) 100%);
  color: #FFF;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px -8px rgba(111,45,255,0.45);
  margin-bottom: 20px;
}

/* How-to steps — minimal numbered layout */
.l-howto {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 48px;
  max-width: 880px;
  margin: 0 auto;
}

.l-howto__step {
  display: flex;
  flex-direction: column;
}

/* Number badge + connector line */
.l-howto__num-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 20px;
}

.l-howto__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--k-purple) 0%, var(--k-purple-700) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px -4px rgba(111,45,255,.45);
}

/* Horizontal connector between steps */
.l-howto__line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, var(--k-purple-200) 0%, transparent 100%);
  margin-left: 12px;
}

.l-howto__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0 0 8px;
}

.l-howto__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-600);
  margin: 0;
}

/* Float dashboard preview */
.l-float { animation: floatY 6s ease-in-out infinite; }

/* Subtle tilt-on-hover for preview */
.l-tilt { transition: transform .4s var(--ease); transform-style: preserve-3d; }
.l-tilt:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(2deg) translateY(-4px); }

/* CTA card (contained gradient on light section) */
.l-cta-card {
  position: relative;
  overflow: hidden;
  padding: 80px 64px;
  border-radius: var(--r-xl);
  background: linear-gradient(140deg, #ECE3FF 0%, #F9F6FF 60%, #ECE3FF 100%);
  border: 1px solid var(--k-purple-200);
}

/* Body for landing */
body.l-body { overflow-y: auto; overflow-x: hidden; background: var(--bg); }

/* Marketing nav */
.l-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 32px;
  transition: padding .2s var(--ease);
}

.l-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 14px 10px 22px;
  display: flex;
  align-items: center;
  gap: 28px;
  transition: background .25s var(--ease), border-color .25s var(--ease), backdrop-filter .25s var(--ease);
}

.l-nav-brand {
  display: flex;
  align-items: center;
}

.l-nav-brand img {
  height: 22px;
  width: auto;
}

.l-nav-spacer {
  flex: 1;
}

.l-nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-right: 8px;
}

.l-nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-600);
  transition: color .12s ease;
}

.l-nav-links a:hover,
.l-nav-links a.is-active {
  color: var(--ink-900);
}

.l-nav-links a.is-active {
  font-weight: 600;
}

.l-nav-login {
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--ink-700);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.l-nav-cta {
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--k-purple) 0%, var(--k-purple-700) 100%);
  color: #FFF;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px -4px rgba(111,45,255,0.45);
}

.l-nav.is-scrolled {
  padding: 12px 32px;
}

.l-nav.is-scrolled .l-nav-inner {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-color: var(--line);
}

/* Landing blog preview */
.l-blog-preview {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.l-blog-preview__blob {
  pointer-events: none;
}

.l-blog-preview__blob--1 {
  top: -10%;
  left: -8%;
  width: 420px;
  height: 420px;
  background: rgba(111, 45, 255, 0.10);
  animation: meshShift 20s ease-in-out infinite;
}

.l-blog-preview__blob--2 {
  bottom: -15%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: rgba(155, 103, 255, 0.10);
  animation: meshShift2 24s ease-in-out infinite;
}

.l-blog-preview__header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.l-blog-preview__intro {
  max-width: 720px;
}

.l-blog-preview__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--k-purple);
  background: var(--k-purple-50);
  border: 1px solid var(--k-purple-200);
  white-space: nowrap;
  transition: background .12s ease, border-color .12s ease, color .12s ease;
}

.l-blog-preview__cta:hover {
  background: var(--k-purple-100);
  border-color: var(--k-purple-300);
  color: var(--k-purple-hover);
}

.l-blog-preview__list {
  position: relative;
  z-index: 1;
  gap: 32px;
}

.l-blog-preview__empty {
  position: relative;
  z-index: 1;
  padding: 40px 32px;
  text-align: center;
  background: var(--bg);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-xl);
  color: var(--ink-500);
}

.l-blog-preview__empty p {
  margin: 0 0 12px;
  font-size: 14px;
}

.l-blog-preview__empty a {
  font-size: 13px;
  font-weight: 600;
  color: var(--k-purple);
}

/* Pricing */
.l-pricing {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.l-pricing--compare-open {
  overflow: visible;
}

.l-pricing__blob {
  pointer-events: none;
}

.l-pricing__blob--1 {
  top: -12%;
  right: -8%;
  width: 460px;
  height: 460px;
  background: rgba(111, 45, 255, 0.10);
  animation: meshShift 22s ease-in-out infinite;
}

.l-pricing__blob--2 {
  bottom: -18%;
  left: -10%;
  width: 520px;
  height: 520px;
  background: rgba(155, 103, 255, 0.08);
  animation: meshShift2 26s ease-in-out infinite;
}

.l-pricing__header {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-bottom: 40px;
}

/* ── Pricing summary cards ───────────────────────────────────── */

.l-pricing-summary {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
  align-items: start;
}

.l-pricing--compare-open .l-pricing-summary {
  z-index: 0;
}

.l-pricing-summary__card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-1);
}

.l-pricing-summary__card--featured {
  z-index: 2;
  background: #16092c;
  border-color: #16092c;
  box-shadow: 0 32px 80px -24px rgba(111, 45, 255, 0.48);
}

/* Head */
.l-pricing-summary__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.l-pricing-summary__title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.l-pricing-summary__plan-icon {
  flex-shrink: 0;
  color: var(--k-purple);
}

.l-pricing-summary__card--featured .l-pricing-summary__plan-icon {
  color: #c4b0ff;
}

.l-pricing-summary__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--ink-900);
}

.l-pricing-summary__card--featured .l-pricing-summary__name {
  color: #fff;
}

.l-pricing-summary__badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--k-purple);
  background: var(--k-purple-50);
  border: 1px solid var(--k-purple-200);
  flex-shrink: 0;
}

.l-pricing-summary__card--featured .l-pricing-summary__badge {
  color: #c9a6ff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.l-pricing-summary__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.l-pricing-summary__amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 3.2vw, 42px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink-900);
}

.l-pricing-summary__card--featured .l-pricing-summary__amount {
  color: #fff;
}

.l-pricing-summary__period {
  font-size: 12px;
  color: var(--ink-400);
}

.l-pricing-summary__card--featured .l-pricing-summary__period {
  color: rgba(255, 255, 255, 0.4);
}

.l-pricing-summary__tagline {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-500);
}

.l-pricing-summary__card--featured .l-pricing-summary__tagline {
  color: rgba(255, 255, 255, 0.55);
}

.l-pricing-summary__for {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-400);
}

.l-pricing-summary__card--featured .l-pricing-summary__for {
  color: rgba(255, 255, 255, 0.32);
}

/* Divider */
.l-pricing-summary__divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0 0 16px;
}

.l-pricing-summary__card--featured .l-pricing-summary__divider {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Inherits text */
.l-pricing-summary__inherit {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-style: italic;
  color: var(--ink-400);
}

.l-pricing-summary__card--featured .l-pricing-summary__inherit {
  color: rgba(255, 255, 255, 0.38);
}

.l-pricing-summary__inherit strong {
  font-style: normal;
  font-weight: 600;
  color: var(--ink-600);
}

.l-pricing-summary__card--featured .l-pricing-summary__inherit strong {
  color: rgba(255, 255, 255, 0.65);
}

/* Features list */
.l-pricing-summary__features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.l-pricing-summary__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-700);
}

.l-pricing-summary__card--featured .l-pricing-summary__feature {
  color: rgba(255, 255, 255, 0.75);
}

.l-pricing-summary__check {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--k-purple);
}

.l-pricing-summary__card--featured .l-pricing-summary__check {
  color: #a78bff;
}

/* CTA */
.l-pricing-summary__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background .12s ease, border-color .12s ease, color .12s ease, box-shadow .12s ease;
}

.l-pricing-summary__cta--primary {
  color: #fff;
  background: var(--k-purple);
}

.l-pricing-summary__cta--primary:hover {
  background: var(--k-purple-hover);
  box-shadow: 0 8px 24px -8px rgba(111, 45, 255, 0.45);
}

.l-pricing-summary__card--featured .l-pricing-summary__cta--primary {
  background: #fff;
  color: #16092c;
}

.l-pricing-summary__card--featured .l-pricing-summary__cta--primary:hover {
  background: #f0e9ff;
  box-shadow: none;
}

.l-pricing-summary__cta--secondary {
  color: var(--ink-700);
  background: var(--surface);
  border: 1px solid var(--line);
}

.l-pricing-summary__cta--secondary:hover {
  background: var(--surface-2);
  border-color: var(--line-strong);
}

.l-pricing-summary__card--featured .l-pricing-summary__cta--secondary {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.l-pricing-summary__card--featured .l-pricing-summary__cta--secondary:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.25);
}

.l-pricing__toggle-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.l-pricing__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background .12s ease, border-color .12s ease, color .12s ease;
}

.l-pricing__toggle:hover {
  background: var(--surface-2);
  border-color: var(--line-strong);
  color: var(--ink-900);
}

.l-pricing__toggle-icon {
  transition: transform .2s var(--ease);
}

.l-pricing__toggle[aria-expanded="true"] .l-pricing__toggle-icon {
  transform: rotate(180deg);
}

.l-pricing-compare-panel {
  position: relative;
  z-index: 5;
  margin-top: 16px;
  margin-bottom: 8px;
  isolation: isolate;
}

.l-pricing--compare-open .l-pricing-compare-panel {
  z-index: 30;
}

.l-pricing-compare-panel[hidden] {
  display: none;
}

.l-pricing-compare-panel__intro {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-500);
  text-align: center;
}

.l-pricing-compare {
  position: relative;
  z-index: 5;
}

.l-pricing--compare-open .l-pricing-compare {
  z-index: 30;
}

.l-pricing-compare__scroll {
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.l-pricing-compare__grid {
  display: grid;
  grid-template-columns: minmax(168px, 220px) repeat(3, minmax(200px, 1fr));
  width: 100%;
  min-width: 860px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.l-pricing-compare__grid--extended {
  grid-template-columns: minmax(108px, 128px) minmax(220px, 260px) repeat(3, minmax(180px, 1fr));
  min-width: 980px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.l-pricing-compare__corner,
.l-pricing-compare__corner-label-cell,
.l-pricing-compare__plan,
.l-pricing-compare__category,
.l-pricing-compare__feature,
.l-pricing-compare__cell {
  min-width: 0;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.l-pricing-compare__corner,
.l-pricing-compare__corner-label-cell {
  display: flex;
  align-items: flex-end;
  background: var(--surface-2);
  border-right: 1px solid var(--line);
}

.l-pricing-compare__corner-label-cell:last-of-type {
  border-right: 1px solid var(--line);
}

.l-pricing-compare__corner-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.l-pricing-compare__plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  background: var(--surface);
  border-right: 1px solid var(--line);
}

.l-pricing-compare__plan:last-of-type {
  border-right: 0;
}

.l-pricing-compare__plan--featured {
  background: linear-gradient(180deg, #f9f6ff 0%, #ffffff 100%);
  box-shadow: inset 0 0 0 1px var(--k-purple-200);
}

.l-pricing-compare__badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: var(--r-pill);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--k-purple);
  background: var(--k-purple-50);
  border: 1px solid var(--k-purple-200);
}

.l-pricing-compare__plan-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-height: 28px;
}

.l-pricing-compare__plan-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

.l-pricing-compare__plan--featured .l-pricing-compare__plan-name {
  color: var(--k-purple);
}

.l-pricing-compare__plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.l-pricing-compare__amount {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.2vw, 38px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}

.l-pricing-compare__plan--featured .l-pricing-compare__amount {
  color: var(--k-purple);
}

.l-pricing-compare__period {
  font-size: 12.5px;
  color: var(--ink-500);
}

.l-pricing-compare__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 38px;
  margin-top: 4px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 600;
  transition: background .12s ease, border-color .12s ease, color .12s ease;
}

.l-pricing-compare__cta--primary {
  color: #fff;
  background: var(--k-purple);
}

.l-pricing-compare__cta--primary:hover {
  background: var(--k-purple-hover);
}

.l-pricing-compare__cta--secondary {
  color: var(--ink-700);
  background: var(--surface);
  border: 1px solid var(--line);
}

.l-pricing-compare__cta--secondary:hover {
  background: var(--surface-2);
  border-color: var(--line-strong);
}

.l-pricing-compare__feature {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  background: var(--surface-2);
  border-right: 1px solid var(--line);
}

.l-pricing-compare__feature--extended {
  font-weight: 500;
  color: var(--ink-600);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.l-pricing-compare__category {
  display: flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--k-purple);
  background: var(--surface-2);
  border-right: 1px solid var(--line);
}

.l-pricing-compare__category--continued {
  color: transparent;
  user-select: none;
}

.l-pricing-compare__category--continued::before {
  content: "";
  display: block;
  width: 2px;
  height: 100%;
  min-height: 20px;
  margin-left: 4px;
  border-radius: 999px;
  background: var(--k-purple-200);
}

.l-pricing-compare__cell {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 64px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.l-pricing-compare__cell--last-col {
  border-right: 0;
}

.l-pricing-compare__cell--featured {
  background: rgba(249, 246, 255, 0.72);
}

.l-pricing-compare__feature--last-row,
.l-pricing-compare__category--last-row,
.l-pricing-compare__cell--last-row {
  border-bottom: 0;
}

.l-pricing-compare__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
}

.l-pricing-compare__status--yes {
  color: var(--k-purple-700);
  background: var(--k-purple-100);
  border: 1.5px solid var(--k-purple-300);
}

.l-pricing-compare__status-icon {
  width: 15px;
  height: 15px;
}

.l-pricing-compare__status-icon path {
  stroke-width: 2.2px;
}

.l-pricing-compare__status--no {
  color: var(--ink-300);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 16px;
  line-height: 1;
}

.l-pricing-compare__cell-text {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-700);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.l-pricing-compare__cell-text--muted {
  color: var(--ink-400);
}

.l-pricing-compare__cell-text--highlight {
  font-weight: 600;
  color: var(--k-purple);
}

.l-pricing-compare__pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.l-pricing-compare__pill--soft {
  color: var(--ink-600);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.l-pricing-compare__pill--medium {
  color: var(--k-purple);
  background: var(--k-purple-50);
  border: 1px solid var(--k-purple-200);
}

.l-pricing-compare__pill--strong {
  color: #fff;
  background: linear-gradient(135deg, var(--k-purple) 0%, var(--k-purple-700) 100%);
  border: 1px solid var(--k-purple);
  box-shadow: 0 8px 20px -12px rgba(111, 45, 255, 0.55);
}

.l-pricing__note {
  position: relative;
  z-index: 1;
  margin: 28px 0 0;
  max-width: 720px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-500);
}

/* Layout helpers */
.l-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.l-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.l-klaudia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* legacy — kept for compatibility */
.l-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.l-footer-grid {
  grid-template-columns: repeat(3, minmax(140px, 1fr));
}

.l-success-pill {
  width: 100%;
}

@media (max-width: 1024px) {
  .l-nav {
    padding: 12px 16px !important;
  }

  .l-nav-inner {
    gap: 12px !important;
    padding: 10px 12px !important;
  }

  .l-nav-links {
    display: none !important;
  }

  .l-section { padding: 88px 20px; }
  .l-container { max-width: 100%; }
  .l-h1 { font-size: clamp(38px, 11vw, 56px); }
  .l-h2 { font-size: clamp(30px, 8vw, 42px); }

  .l-hero-grid,
  .l-features-grid,
  .l-klaudia-grid,
  .l-steps-grid,
  .l-howto,
  .l-pricing-summary,
  .l-footer-grid {
    grid-template-columns: 1fr;
  }

  .l-howto {
    gap: 40px 0;
  }

  .l-howto__line {
    display: none;
  }

  .l-pricing-compare__grid,
  .l-pricing-compare__grid--extended {
    min-width: 760px;
  }

  .l-blog-preview__header {
    align-items: flex-start;
  }

  .l-steps-line { display: none; }

  .l-cta-card {
    padding: 56px 24px;
  }

  .l-footer-top {
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .l-cta-bar {
    max-width: 100%;
    flex-direction: column;
    border-radius: 20px;
    padding: 12px;
  }

  .l-cta-bar input {
    width: 100%;
    height: 42px;
  }

  .l-cta-bar button {
    width: 100%;
    justify-content: center;
    height: 42px;
  }

  .l-success-pill {
    border-radius: 16px !important;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .l-nav-login {
    display: none !important;
  }

  .l-nav-cta {
    height: 34px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
  }

  .l-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .l-feat {
    padding: 24px;
  }
}
