/* Kalpanova website: its own identity (ink, paper and a cool aurora), system fonts, no cookies or trackers. */
:root {
  --ink: #0b0b10;
  --ink-2: #2b2b36;
  --muted: #6b6b7b;
  --paper: #f6f6f3;
  --surface: #ffffff;
  --line: #e6e6e1;
  --teal: #5eead4;
  --sky: #38bdf8;
  --iris: #818cf8;
  --link: #0f6fb8;
  --radius: 22px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0d0d12;
    --surface: #15151c;
    --ink-2: #d6d6df;
    --muted: #9a9aab;
    --line: #24242e;
    --link: #7dd3fc;
  }
  body { color: #f2f2f5; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }

/* Header */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 10; }
.site-header .wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; font-weight: 650; font-size: 19px; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 28px; }
.nav a { color: rgba(255, 255, 255, .7); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; background: #07070b; color: #fff; padding: 168px 0 132px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 380px at 78% 18%, rgba(56, 189, 248, .28), transparent 70%),
    radial-gradient(520px 360px at 92% 72%, rgba(129, 140, 248, .24), transparent 70%),
    radial-gradient(480px 340px at 18% 100%, rgba(94, 234, 212, .18), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 99px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .78); background: rgba(255, 255, 255, .04); margin-bottom: 28px; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.hero h1 { font-size: clamp(42px, 7.2vw, 88px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; margin: 0 0 26px; max-width: 900px; }
.gradient-text { background: linear-gradient(92deg, var(--teal), var(--sky) 45%, var(--iris)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: clamp(17px, 2.1vw, 21px); color: rgba(255, 255, 255, .68); max-width: 620px; margin: 0 0 40px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font-size: 15px; font-weight: 600; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-light { background: #fff; color: #07070b; }
.btn-outline { color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.btn-outline:hover { background: rgba(255, 255, 255, .06); }
.btn-ink { background: var(--ink); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-ink { background: #fff; color: #07070b; } }

/* Sections */
section { padding: 104px 0; }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 44px; }
.head h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; margin: 0; }
.head p { color: var(--muted); margin: 0; max-width: 420px; font-size: 17px; }

/* Apps */
.apps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.app { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 18px; transition: transform .2s ease, box-shadow .2s ease; }
.app:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(11, 11, 16, .35); }
.app-head { display: flex; align-items: center; gap: 16px; }
.app-icon { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; flex: none; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 8px 20px -10px rgba(0, 0, 0, .35); }
.app h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.015em; }
.app .category { color: var(--muted); font-size: 15px; }
.app > p { margin: 0; color: var(--ink-2); }
.pill { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 5px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; background: rgba(129, 140, 248, .12); color: #4c55c9; }
.pill.live { background: rgba(16, 185, 129, .12); color: #0d8a63; }
@media (prefers-color-scheme: dark) { .pill { color: #b3b9ff; } .pill.live { color: #5ee6b3; } }
.app-foot { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; font-size: 15px; font-weight: 500; }
.app-foot a:not(.btn) { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); }
.app-foot a:not(.btn):hover { border-color: var(--ink-2); }

/* How we work */
.approach { border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 30px 28px 6px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step .n { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .08em; }
.step h3 { margin: 14px 0 8px; font-size: 20px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); }

/* Contact */
.contact { padding-top: 0; }
.contact-box { position: relative; overflow: hidden; background: #07070b; color: #fff; border-radius: 28px; padding: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; isolation: isolate; }
.contact-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(480px 300px at 100% 0%, rgba(56, 189, 248, .3), transparent 70%), radial-gradient(420px 280px at 0% 100%, rgba(94, 234, 212, .18), transparent 70%); }
.contact-box h2 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; line-height: 1.08; }
.contact-box p { margin: 0; color: rgba(255, 255, 255, .66); }

/* Footer */
.site-footer { padding: 36px 0 52px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
@media (prefers-color-scheme: dark) { .site-footer a:hover { color: #fff; } }

/* Policy pages */
.page-head { position: relative; overflow: hidden; background: #07070b; color: #fff; padding: 140px 0 60px; isolation: isolate; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px 320px at 85% 10%, rgba(56, 189, 248, .25), transparent 70%); }
.page-head .crumb { font-size: 14px; color: rgba(255, 255, 255, .6); }
.page-head h1 { margin: 8px 0 8px; font-size: clamp(34px, 5vw, 56px); letter-spacing: -.03em; line-height: 1.05; }
.page-head p { margin: 0; color: rgba(255, 255, 255, .66); }
.doc { padding: 56px 0 88px; }
.doc .wrap { max-width: 780px; }
.doc h2 { margin: 40px 0 10px; font-size: 21px; letter-spacing: -.01em; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }

@media (max-width: 680px) {
  .nav { display: none; }
  section { padding: 76px 0; }
  .hero { padding: 132px 0 96px; }
  .step, .step + .step { padding: 24px 0 4px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .contact-box { padding: 32px; }
  .app { padding: 24px; }
}
