/* Kalpanova website: bright and warm. System fonts, no cookies or trackers. */
:root {
  color-scheme: light;
  --cream: #fff9f2;
  --white: #ffffff;
  --plum: #2a1f4f;
  --plum-2: #4a3f6b;
  --muted: #6f6886;
  --line: #f0e7dc;
  --coral: #ff7a59;
  --sun: #ffc845;
  --mint: #3ddc97;
  --sky: #5ab0ff;
  --lilac: #b18cff;
  --pink: #ff5e8a;
  --radius: 26px;
  --shadow: 0 2px 6px rgba(42, 31, 79, .06), 0 22px 44px -22px rgba(42, 31, 79, .28);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

/* Header */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 10; }
.site-header .wrap { height: 80px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--plum); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.015em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 4px 12px -4px rgba(42, 31, 79, .25); }
.nav { display: flex; gap: 8px; }
.nav a { color: var(--plum-2); text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 14px; border-radius: 99px; }
.nav a:hover { background: rgba(255, 255, 255, .75); color: var(--plum); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 150px 0 110px; isolation: isolate; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: -1; animation: float 18s ease-in-out infinite; }
.b1 { width: 420px; height: 420px; background: var(--coral); top: -120px; right: 8%; }
.b2 { width: 380px; height: 380px; background: var(--sun); top: 120px; right: -120px; animation-delay: -6s; }
.b3 { width: 360px; height: 360px; background: var(--mint); bottom: -160px; left: 30%; animation-delay: -12s; opacity: .4; }
.b4 { width: 300px; height: 300px; background: var(--sky); top: -80px; left: -120px; animation-delay: -3s; opacity: .35; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(24px, -18px) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .blob { animation: none; } }

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 99px; background: rgba(255, 255, 255, .8); font-size: 14px; font-weight: 700; color: var(--plum-2); box-shadow: 0 6px 18px -10px rgba(42, 31, 79, .35); margin-bottom: 26px; }
.kicker i { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 14px 0 0 var(--sun), 28px 0 0 var(--coral); margin-right: 28px; }
.hero h1 { font-size: clamp(40px, 6.6vw, 80px); line-height: 1.03; font-weight: 800; letter-spacing: -.035em; margin: 0 0 24px; }
.mark { position: relative; white-space: nowrap; z-index: 0; }
.mark::after { content: ""; position: absolute; left: -4px; right: -6px; bottom: .08em; height: .36em; border-radius: 10px; background: linear-gradient(90deg, var(--sun), var(--coral) 60%, var(--pink)); opacity: .75; z-index: -1; transform: rotate(-1.2deg); }
.hero p { font-size: clamp(17px, 2vw, 21px); color: var(--plum-2); max-width: 560px; margin: 0 0 36px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 16px; font-size: 16px; font-weight: 700; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--coral), var(--pink)); color: #fff; box-shadow: 0 12px 24px -12px rgba(255, 94, 138, .8); }
.btn-soft { background: #fff; color: var(--plum); box-shadow: 0 8px 20px -12px rgba(42, 31, 79, .35); }
.btn-sky { background: linear-gradient(135deg, var(--sky), #4f7cff); color: #fff; box-shadow: 0 12px 24px -12px rgba(79, 124, 255, .7); }

/* Hero showcase */
.showcase { position: relative; height: 420px; }
.tile { position: absolute; display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 24px; padding: 16px 22px 16px 16px; box-shadow: var(--shadow); font-weight: 800; font-size: 18px; animation: bob 7s ease-in-out infinite; }
.tile img { width: 64px; height: 64px; border-radius: 16px; }
.tile small { display: block; font-weight: 600; font-size: 13px; color: var(--muted); }
.t1 { top: 40px; left: 0; transform: rotate(-4deg); }
.t2 { top: 210px; right: 0; transform: rotate(3deg); animation-delay: -3.5s; }
.chip { position: absolute; border-radius: 99px; padding: 8px 16px; font-size: 14px; font-weight: 700; color: #fff; box-shadow: 0 10px 20px -12px rgba(42, 31, 79, .5); }
.c1 { background: var(--mint); top: 0; right: 40px; }
.c2 { background: var(--sun); color: var(--plum); bottom: 60px; left: 30px; }
.c3 { background: var(--lilac); bottom: 0; right: 90px; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .tile { animation: none; } }

/* Sections */
section { padding: 100px 0; }
.head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.head .tag { display: inline-block; padding: 6px 14px; border-radius: 99px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 122, 89, .12); color: #d94f2e; }
.head h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; margin: 14px 0 12px; }
.head p { color: var(--muted); margin: 0; font-size: 18px; }

/* Apps */
.apps { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.app { position: relative; overflow: hidden; background: #fff; border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); transition: transform .2s ease; }
.app:hover { transform: translateY(-4px); }
.app::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; }
.app.alarmigo::before { background: linear-gradient(90deg, #ffb52e, #ff8a3d, #6f5bd6); }
.app.snaptimer::before { background: linear-gradient(90deg, #5ab0ff, #2f5bf0); }
.app-head { display: flex; align-items: center; gap: 16px; }
.app-icon { width: 72px; height: 72px; border-radius: 18px; flex: none; box-shadow: 0 10px 22px -12px rgba(42, 31, 79, .45); }
.app h3 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.app .category { color: var(--muted); font-size: 15px; font-weight: 600; }
.app > p { margin: 0; color: var(--plum-2); }
.pill { width: fit-content; padding: 6px 13px; border-radius: 99px; font-size: 13px; font-weight: 800; }
.pill.soon { background: rgba(255, 200, 69, .22); color: #8a5a00; }
.pill.live { background: rgba(61, 220, 151, .18); color: #0f7a4f; }
.app-foot { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; font-size: 15px; font-weight: 700; }
.app-foot a:not(.btn) { color: var(--plum); text-decoration: none; border-bottom: 2px solid rgba(255, 122, 89, .35); }
.app-foot a:not(.btn):hover { border-color: var(--coral); }

/* How we work */
.values { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.value { border-radius: var(--radius); padding: 30px; }
.value .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; box-shadow: 0 8px 18px -10px rgba(42, 31, 79, .35); margin-bottom: 18px; }
.value .ico svg { width: 26px; height: 26px; }
.value h3 { margin: 0 0 8px; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.value p { margin: 0; color: var(--plum-2); }
.v1 { background: #e6fbf2; }
.v2 { background: #fff4d6; }
.v3 { background: #e8f3ff; }

/* Contact */
.contact { padding-top: 10px; }
.contact-box { position: relative; overflow: hidden; border-radius: 32px; padding: 60px; color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; background: linear-gradient(120deg, var(--coral) 0%, var(--pink) 45%, var(--lilac) 100%); isolation: isolate; }
.contact-box::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--sun); filter: blur(70px); opacity: .55; right: -80px; top: -140px; z-index: -1; }
.contact-box h2 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; line-height: 1.06; font-weight: 800; }
.contact-box p { margin: 0; color: rgba(255, 255, 255, .92); font-size: 18px; }
.contact-box .btn { background: #fff; color: var(--plum); }

/* Footer */
.site-footer { padding: 40px 0 56px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; 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; font-weight: 600; }
.site-footer a:hover { color: var(--plum); }

/* Policy pages */
.page-head { position: relative; overflow: hidden; padding: 150px 0 64px; isolation: isolate; }
.page-head .crumb { display: inline-block; padding: 6px 14px; border-radius: 99px; background: rgba(255, 255, 255, .8); font-size: 14px; font-weight: 700; color: var(--plum-2); }
.page-head h1 { margin: 16px 0 8px; font-size: clamp(36px, 5.4vw, 60px); letter-spacing: -.035em; line-height: 1.04; font-weight: 800; }
.page-head p { margin: 0; color: var(--plum-2); }
.doc { padding: 10px 0 90px; }
.doc .wrap { max-width: 800px; }
.doc .card { background: #fff; border-radius: var(--radius); padding: 44px; box-shadow: var(--shadow); }
.doc h2 { margin: 34px 0 10px; font-size: 21px; letter-spacing: -.01em; font-weight: 800; }
.doc h2:first-of-type { margin-top: 26px; }
.doc p, .doc li { color: var(--plum-2); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .showcase { height: 300px; max-width: 440px; }
  .t1 { top: 30px; }
  .t2 { top: 150px; }
}
@media (max-width: 680px) {
  .nav { display: none; }
  section { padding: 76px 0; }
  .hero { padding: 120px 0 70px; }
  .app, .value { padding: 24px; }
  .contact-box { padding: 34px; }
  .doc .card { padding: 26px; }
  .tile { font-size: 16px; padding: 12px 16px 12px 12px; }
  .tile img { width: 52px; height: 52px; }
  .showcase { height: 330px; }
  .c1 { top: 0; right: 0; }
  .t1 { top: 48px; left: 0; }
  .t2 { top: 168px; right: 0; }
  .c2 { bottom: 0; left: 0; }
  .c3 { bottom: 0; right: 0; }
}
