/* kerdaro.com homepage — approved design (design/landing, 2026-11-15).
   CSS only: no libraries, no inline styles (the page CSP is style-src 'self').
   Motion stops under prefers-reduced-motion. Logical properties keep RTL right. */
@font-face{font-family:'Space Grotesk';src:url(/static/fonts/spacegrotesk-ec926d5065eaca49.ttf) format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'Space Grotesk';src:url(/static/fonts/spacegrotesk-3e756954468ff1cb.ttf) format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:'Heebo';src:url(/static/fonts/heebo-c3e828690d20e344.ttf) format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'Heebo';src:url(/static/fonts/heebo-ff9e18d0f96e813c.ttf) format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url(/static/landing/jetbrainsmono-b6b1ff4ddefe36d7.ttf) format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url(/static/landing/jetbrainsmono-a2349098b9e45419.ttf) format('truetype');font-weight:700;font-display:swap}

:root{color-scheme:dark light}
.lh-body{margin:0;background:#050A18}
.lh-root{
  --bg:#050A18;--surface:#0A1226;--card:#0E1830;--border:#1E2C4D;--border-strong:#3A4B72;--text:#EEF2FF;--muted:#A9B4D0;
  --brand:#4D86FF;--brand-soft:#4D86FF40;--brand-faint:#4D86FF1F;--brand-glow:#4D86FF88;
  --cta:#FFA62B;--cta-text:#1A0F00;--cta-glow:#FFA62B99;
  font-family:'Space Grotesk','Heebo',system-ui,sans-serif;color:var(--text);background:var(--bg);overflow:hidden;
  overflow-wrap:anywhere;hyphens:auto; /* long words (German, Tamil, ...) wrap instead of overflowing phones */
  -webkit-font-smoothing:antialiased
}
.lh-root *,.lh-root *::before,.lh-root *::after{box-sizing:border-box}
.lh-root a{color:inherit}
.lh-root :focus-visible{outline:3px solid var(--cta);outline-offset:3px;border-radius:6px}
.lh-mono,.lh-eyebrow,.lh-pill,.lh-step-no{font-family:'JetBrains Mono','Heebo',ui-monospace,monospace}
.lh-brand{color:var(--brand)}
.lh-muted{color:var(--muted)}
.lh-center{text-align:center}

/* Zones */
.lh-dark{background:var(--bg);color:var(--text)}
.lh-light{
  --bg:#F5F7FC;--surface:#EAEFF9;--card:#FFFFFF;--border:#D5DDEE;--border-strong:#9AA8C7;--text:#0B1430;--muted:#4A5675;
  --brand:#2357E8;--brand-soft:#2357E833;--brand-faint:#2357E814;--brand-glow:#2357E855;
  background:var(--bg);color:var(--text)
}
.lh-hero-zone{position:relative;overflow:hidden}
.lh-stars{position:absolute;inset:0;opacity:.45;background-image:radial-gradient(1px 1px at 15% 25%,var(--text),transparent),radial-gradient(1px 1px at 75% 65%,var(--brand),transparent);background-size:240px 260px,180px 220px;animation:lh-stars 50s linear infinite}
.lh-floor-wrap{position:absolute;inset-inline:-20%;bottom:0;height:46%;perspective:420px;overflow:hidden}
.lh-floor{position:absolute;inset:0;transform:rotateX(62deg);transform-origin:50% 100%;background-image:linear-gradient(var(--brand-soft) 1px,transparent 1px),linear-gradient(90deg,var(--brand-soft) 1px,transparent 1px);background-size:80px 80px,80px 80px;-webkit-mask-image:linear-gradient(transparent,#000 70%);mask-image:linear-gradient(transparent,#000 70%);animation:lh-floor 2.4s linear infinite}

/* Header */
.lh-header{position:relative;z-index:2;max-width:1280px;margin:0 auto;padding:22px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.lh-brandlink{display:flex;align-items:center;gap:10px;text-decoration:none;min-height:44px}
.lh-logo{width:30px;height:36px}
.lh-k-line{fill:none;stroke:var(--brand);stroke-width:5;stroke-linejoin:round}
.lh-k-fill{fill:var(--brand)}
.lh-wordmark{font-family:'Space Grotesk',sans-serif;font-weight:700;letter-spacing:.32em;font-size:15px}
.lh-nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;font-size:15px}
.lh-nav>a:not(.lh-cta){color:var(--muted);text-decoration:none;display:inline-flex;align-items:center;min-height:44px}
.lh-nav>a:not(.lh-cta):hover{color:var(--text)}

/* Buttons */
.lh-cta{background:var(--cta);color:var(--cta-text)!important;text-decoration:none;font-weight:700;border-radius:999px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;transition:transform .2s,box-shadow .2s}
.lh-cta:hover{transform:translateY(-2px);box-shadow:0 0 30px var(--cta-glow)}
.lh-cta-nav{padding:12px 20px}
.lh-cta-big{padding:18px 30px;font-size:17px}
.lh-ghost{text-decoration:none;border:1px solid var(--border-strong);padding:18px 30px;border-radius:999px;font-weight:700;font-size:17px;min-height:44px;display:inline-flex;align-items:center}
.lh-ghost:hover{border-color:var(--text)}

/* Hero */
.lh-hero{position:relative;z-index:1;max-width:1280px;margin:0 auto;padding:40px 24px 200px;display:flex;flex-direction:column;align-items:center;text-align:center}
.lh-orbit{position:absolute;top:0;inset-inline-start:50%;width:680px;height:680px;margin-inline-start:-340px;border:1px dashed var(--brand-soft);border-radius:50%;animation:lh-orbit 40s linear infinite}
.lh-orbit-r{position:absolute;top:90px;inset-inline-start:50%;width:500px;height:500px;margin-inline-start:-250px;border:1px solid var(--border);border-radius:50%;animation:lh-orbit 28s linear infinite reverse}
.lh-orbit-dot{position:absolute;top:-5px;left:50%;width:10px;height:10px;border-radius:50%;background:var(--cta);box-shadow:0 0 16px var(--cta)}
.lh-mark{perspective:1000px;width:280px;height:330px;position:relative;margin-bottom:28px;max-width:70vw}
.lh-spin{position:absolute;inset:0;transform-style:preserve-3d;animation:lh-spin 18s linear infinite}
.lh-mark svg{position:absolute;inset:0;width:100%;height:100%}
.lh-mark-back{transform:translateZ(-40px);opacity:.35}
.lh-mark-back polygon{fill:none;stroke:var(--brand);stroke-width:1.2}
.lh-mark-front{transform:translateZ(40px);opacity:.35}
.lh-mark-front polygon{fill:none;stroke:var(--text);stroke-width:1.2}
.lh-mark-mid{filter:drop-shadow(0 0 8px var(--brand-glow))}
.lh-mark-mid .lh-k-line{stroke-width:1.6}
.lh-k-face{fill:var(--brand-faint);stroke:var(--text);stroke-width:1.6;stroke-linejoin:round}
.lh-draw{stroke-dasharray:700;stroke-dashoffset:700;animation:lh-draw 2.4s cubic-bezier(.6,0,.2,1) forwards}
.lh-draw-edges{stroke-dasharray:60;stroke-dashoffset:60}
.lh-pill{position:relative;margin:0 0 22px;font-size:13px;letter-spacing:.18em;text-transform:uppercase;color:var(--brand);border:1px solid var(--brand-soft);border-radius:999px;padding:8px 16px}
.lh-hero h1{position:relative;margin:0;font-weight:700;font-size:clamp(44px,7.4vw,112px);line-height:.94;letter-spacing:-.045em;max-width:1120px;text-wrap:balance}
.lh-glow{color:var(--brand);text-shadow:0 0 36px var(--brand-glow)}
.lh-lede{position:relative;margin:28px 0 0;max-width:620px;font-size:clamp(17px,1.6vw,21px);line-height:1.55;color:var(--muted)}
.lh-actions{position:relative;margin-top:38px;display:flex;flex-wrap:wrap;gap:14px;justify-content:center}
.lh-note{position:relative;margin:20px 0 0;font-size:12px;color:var(--muted)}

/* Marquee (decorative) */
.lh-marquee-band{background:#050A18;color:#A9B4D0;border-block:1px solid #1E2C4D;padding:16px 0;overflow:hidden;white-space:nowrap;font-family:'JetBrains Mono','Heebo',monospace;font-size:14px;letter-spacing:.2em}
.lh-marquee-band .lh-brand{color:#4D86FF}
.lh-marquee{display:inline-block;animation:lh-marquee 30s linear infinite}

/* Sections */
.lh-section{max-width:1280px;margin:0 auto;padding:120px 24px}
.lh-section-tight{padding-top:0}
.lh-eyebrow{margin:0;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--brand)}
.lh-section h2{margin:14px 0 56px;font-size:clamp(34px,4.4vw,60px);letter-spacing:-.035em;line-height:1.02;text-wrap:balance}
.lh-h2-wide{max-width:780px}
.lh-grid{display:grid;gap:20px}
.lh-grid-260{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.lh-grid-280{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.lh-grid-300{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.lh-card{background:var(--card);border:1px solid var(--border);border-radius:20px;transition:transform .3s,border-color .3s,box-shadow .3s}
.lh-card:hover{transform:translateY(-6px);border-color:var(--brand);box-shadow:0 20px 50px -24px var(--brand)}
.lh-step{padding:32px}
.lh-step-no{margin:0 0 32px;font-size:14px;color:var(--brand)}
.lh-step h3{margin:0 0 12px;font-size:24px;letter-spacing:-.02em}
.lh-step p:last-child{margin:0;line-height:1.6}

/* Examples */
#examples h2{margin-bottom:12px}
.lh-examples-note{margin:0 0 48px;font-size:15px}
.lh-example{margin:0;overflow:hidden;border-radius:18px}
.lh-example img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:top;background:var(--surface);border-bottom:1px solid var(--border)}
.lh-example figcaption{padding:16px 20px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;font-size:15px}

/* Agent */
.lh-agent{border:1px solid var(--border);border-radius:28px;background:var(--surface);padding:clamp(28px,5vw,64px);display:flex;flex-wrap:wrap;gap:56px;align-items:center}
.lh-agent-copy{flex:1 1 420px;min-width:0}
.lh-agent h2{margin:14px 0 20px;font-size:clamp(32px,4vw,54px);line-height:1.04}
.lh-agent-text{margin:0;font-size:18px;line-height:1.6}
.lh-chat{flex:1 1 360px;min-width:0;margin:0;border-radius:22px;border:1px solid var(--brand-soft);background:var(--bg);padding:22px;display:flex;flex-direction:column;gap:12px}
.lh-chat-head{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted)}
.lh-bubble{margin:0;padding:12px 16px;line-height:1.5}
.lh-bubble-user{align-self:flex-end;background:var(--text);color:var(--bg);border-radius:16px;border-end-end-radius:4px;max-width:80%}
.lh-bubble-agent{align-self:flex-start;background:var(--card);border:1px solid var(--border);border-radius:16px;border-end-start-radius:4px;max-width:85%}
.lh-chat-action{align-self:flex-start;font-size:14px;padding:10px 16px}
.lh-chat-action:hover{transform:none;box-shadow:none}
.lh-chat-input{margin:0;border-top:1px solid var(--border);padding-top:12px;font-size:13px;color:var(--muted)}
.lh-caret{animation:lh-blink 1s steps(1) infinite}

/* Pricing */
#pricing h2{margin-bottom:12px}
.lh-pricing-lede{margin:0 0 52px;font-size:18px}
.lh-prices{text-align:start}
.lh-price{border-radius:22px;padding:36px;display:flex;flex-direction:column;gap:14px}
.lh-price h3{margin:0;font-size:20px;color:var(--muted)}
.lh-price-main{border:2px solid var(--brand);box-shadow:0 0 60px -24px var(--brand-glow)}
/* Phones: DOM order (Hosted, Own it now, Credit pack). Wider: the approved desktop order. */
@media (min-width:641px){.lh-price-own{order:1}.lh-price-main{order:2}.lh-price-credit{order:3}}
.lh-price-main h3{color:var(--brand)}
.lh-amount{margin:0;font-size:60px;font-weight:700;letter-spacing:-.04em}
.lh-amount .lh-unit{font-size:16px;font-weight:400;letter-spacing:0;color:var(--muted);margin-inline-start:.3em}
.lh-price .lh-muted{margin:0;line-height:1.6}
.lh-price-cta{margin-top:auto;padding:16px}
.lh-fineprint{margin:26px 0 0;font-size:12px}
.lh-fineprint+.lh-fineprint{margin-top:10px}
.lh-fineprint a{color:var(--brand);display:inline-flex;align-items:center;min-height:44px}

/* Final CTA */
.lh-final-zone{padding-top:120px}
.lh-final-wrap{padding-top:0}
.lh-final{position:relative;overflow:hidden;border-radius:32px;border:1px solid var(--brand-soft);background:var(--surface);padding:clamp(48px,8vw,110px) 24px;text-align:center}
.lh-floor-final{inset-inline:-10%;height:60%;perspective:360px}
.lh-final h2{position:relative;margin:0 0 32px;font-size:clamp(36px,6vw,88px);letter-spacing:-.045em;line-height:.96}
.lh-break{display:block}
.lh-final .lh-cta{position:relative;font-size:18px;padding:20px 34px}

/* Footer */
.lh-footer{border-top:1px solid var(--border)}
.lh-footer-inner{max-width:1280px;margin:0 auto;padding:40px 24px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;font-size:13px;color:var(--muted)}
.lh-footer-inner p{margin:0}
.lh-footer-inner .lh-wordmark{color:var(--text)}
.lh-footer nav{display:flex;flex-wrap:wrap;gap:4px 22px}
.lh-footer a{display:inline-flex;align-items:center;min-height:44px}

/* Language picker (rendered by the shared widget) */
.lh-language{display:inline-flex}
.lh-language .language-picker{position:relative}
.lh-language summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px;min-height:44px;color:var(--muted);font-size:14px}
.lh-language summary::-webkit-details-marker{display:none}
.lh-language summary svg{width:18px;height:18px}
.lh-language .language-popover{position:absolute;inset-inline-end:0;top:100%;z-index:5;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:12px;min-width:200px}
.lh-language select{width:100%;min-height:44px;font:inherit;background:var(--card);color:var(--text);border:1px solid var(--border-strong);border-radius:8px;padding:0 8px}
.lh-language .visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.lh-language .language-feedback{margin:6px 0 0;font-size:12px}

/* Motion */
@keyframes lh-spin{from{transform:rotateX(-12deg) rotateY(0)}to{transform:rotateX(-12deg) rotateY(360deg)}}
@keyframes lh-floor{to{background-position:0 80px,0 0}}
@keyframes lh-stars{to{background-position:0 -500px,0 -300px}}
@keyframes lh-orbit{to{transform:rotate(360deg)}}
@keyframes lh-rise{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}
/* Scroll reveal: opacity and a small shift only (no filter, so the end state is sharp), finished by entry 60%. */
@keyframes lh-reveal-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes lh-draw{to{stroke-dashoffset:0}}
@keyframes lh-blink{50%{opacity:0}}
@keyframes lh-marquee{to{transform:translateX(-50%)}}
.lh-rise{animation:lh-rise 1s cubic-bezier(.2,.7,.2,1) both}
.lh-d1{animation-delay:.15s}.lh-d2{animation-delay:.3s}.lh-d3{animation-delay:.45s}
@supports (animation-timeline: view()){.lh-reveal{animation:lh-reveal-in linear both;animation-timeline:view();animation-range:entry 0% entry 60%}}

@media (max-width:640px){
  .lh-nav>a.lh-navlink{display:none}
  .lh-header{padding-inline:16px}
  .lh-section{padding-inline:16px}
  .lh-orbit{width:440px;height:440px;margin-inline-start:-220px}
  .lh-orbit-r{width:320px;height:320px;margin-inline-start:-160px}
  .lh-mark{width:200px;height:236px}
  .lh-hero{padding:24px 16px 140px}
  .lh-amount{font-size:48px}
}
@media (prefers-reduced-motion:reduce){
  .lh-root *,.lh-root *::before,.lh-root *::after{animation:none!important;transition:none!important}
  .lh-draw{stroke-dashoffset:0}
}
