:root {
  --kl-ink: #10100f;
  --kl-paper: #f0ede5;
  --kl-acid: #dfff47;
  --kl-accent: var(--kl-acid);
  --kl-header-bg: rgba(240, 237, 229, .9);
  --kl-header-text: var(--kl-ink);
  --kl-border: rgba(16, 16, 15, .14);
  --kl-muted: #77736a;
  --kl-max: 1400px;
  --kl-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--kl-font); }
a { color: inherit; }

.kl-header {
  min-height: 84px;
  padding: 0 clamp(22px, 4vw, 64px);
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--kl-header-text);
  border-bottom: 1px solid var(--kl-border);
  background: var(--kl-header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.kl-header--dark {
  --kl-header-bg: rgba(16, 16, 15, .78);
  --kl-header-text: #f8f5ed;
  --kl-border: rgba(255, 255, 255, .12);
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.kl-identity,
.kl-brand,
.kl-product {
  display: inline-flex;
  align-items: center;
}

.kl-identity { min-width: 0; gap: 12px; }
.kl-brand { flex: 0 0 auto; gap: 11px; font-size: 16px; font-weight: 760; letter-spacing: -.04em; text-decoration: none; }
.kl-dot { width: 12px; height: 12px; display: inline-block; border-radius: 50%; background: var(--kl-accent); box-shadow: 0 0 22px color-mix(in srgb, var(--kl-accent) 45%, transparent); }
.kl-separator { color: color-mix(in srgb, currentColor 32%, transparent); font-size: 20px; font-weight: 300; }
.kl-product { min-width: 0; gap: 9px; font-size: 15px; font-weight: 720; letter-spacing: -.025em; text-decoration: none; }
.kl-product img { width: 32px; height: 32px; display: block; flex: 0 0 auto; border-radius: 9px; object-fit: cover; box-shadow: 0 6px 16px rgba(0, 0, 0, .14); }

.kl-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.kl-nav a { position: relative; color: color-mix(in srgb, currentColor 68%, transparent); font-size: 13px; font-weight: 680; text-decoration: none; white-space: nowrap; transition: color 160ms ease; }
.kl-nav a:hover,
.kl-nav a:focus-visible,
.kl-nav a[aria-current="page"] { color: currentColor; }
.kl-nav a[aria-current="page"]::after { content: ""; height: 2px; position: absolute; right: 0; bottom: -8px; left: 0; border-radius: 999px; background: var(--kl-accent); }

.kl-footer {
  min-height: 116px;
  padding: 30px clamp(22px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  color: #97948c;
  border-top: 1px solid rgba(255,255,255,.12);
  background: var(--kl-ink);
  font-size: 11px;
}

.kl-footer .kl-brand { color: #f8f5ed; }
.kl-footer p { margin: 0; text-align: center; }
.kl-footer-links { display: flex; justify-content: flex-end; gap: 22px; }
.kl-footer-links a { color: #b8b5ad; font-size: 12px; font-weight: 680; text-decoration: none; }
.kl-footer-links a:hover,
.kl-footer-links a:focus-visible { color: var(--kl-accent); }

.kl-legal-page { color: var(--kl-ink); background: var(--kl-paper); }
.kl-legal-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 130px) 0 clamp(100px, 12vw, 170px);
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(60px, 10vw, 150px);
}

.kl-legal-title { position: sticky; top: 126px; align-self: start; }
.kl-legal-title h1 { margin: 0; font-size: clamp(48px, 6vw, 82px); line-height: .94; letter-spacing: -.065em; }
.kl-legal-title > p:last-of-type { max-width: 390px; color: var(--kl-muted); font-size: 15px; line-height: 1.65; }
.kl-legal-content { padding-top: 4px; }
.kl-legal-content .lead { margin-top: 0; color: var(--kl-ink); font-size: clamp(19px, 2vw, 23px); line-height: 1.52; }
.kl-legal-content section,
.kl-legal-content > h2 { border-top: 1px solid var(--kl-border); }
.kl-legal-content section { padding: 28px 0; }
.kl-legal-content h2 { margin: 44px 0 12px; padding-top: 28px; font-size: 22px; letter-spacing: -.025em; }
.kl-legal-content section h2 { margin: 0 0 10px; padding: 0; border: 0; }
.kl-legal-content p { color: #5f5c54; font-size: 16px; line-height: 1.72; }
.kl-legal-content a { color: color-mix(in srgb, var(--kl-accent) 70%, var(--kl-ink)); font-weight: 750; }
.kl-email-button { margin-top: 20px; padding: 15px 20px; display: inline-flex; border-radius: 999px; color: var(--kl-ink); background: var(--kl-accent); font-size: 13px; font-weight: 780; text-decoration: none; }

@media (max-width: 760px) {
  .kl-header { min-height: 74px; padding-block: 12px; }
  .kl-brand-label { display: none; }
  .kl-separator { display: none; }
  .kl-nav { gap: 17px; }
  .kl-nav-optional { display: none; }
  .kl-footer { grid-template-columns: 1fr; padding-top: 38px; padding-bottom: 38px; }
  .kl-footer p { text-align: left; }
  .kl-footer-links { justify-content: flex-start; flex-wrap: wrap; }
  .kl-legal-shell { width: min(100% - 36px, 720px); grid-template-columns: 1fr; }
  .kl-legal-title { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
