/* Klapt Technologies: static site for klapt.io. Brand: Deep Violet #5835DB, Cyan #22D3EE, Navy. */
:root {
    --violet: #5835db;
    --violet-dark: #4526b8;
    --violet-soft: #f1edff;
    --cyan: #22d3ee;
    --navy-900: #0f172a;
    --navy-700: #334155;
    --navy-500: #64748b;
    --navy-200: #e2e8f0;
    --navy-50: #f8fafc;
    --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--navy-900);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--violet); }
a:hover { color: var(--violet-dark); }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* Header */
.site-header { border-bottom: 1px solid var(--navy-200); background: rgba(255, 255, 255, 0.92); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-header img { height: 34px; width: auto; display: block; }
.site-header nav { display: flex; gap: 24px; align-items: center; }
.site-header nav a { color: var(--navy-700); text-decoration: none; font-size: 15px; font-weight: 500; }
.site-header nav a:hover { color: var(--violet); }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 46px; padding: 0 22px; border-radius: 10px;
    background: var(--violet); color: #fff !important; text-decoration: none;
    font-weight: 600; font-size: 15px; box-shadow: 0 8px 24px rgba(88, 53, 219, 0.28);
}
.btn:hover { background: var(--violet-dark); }
.btn-ghost { background: #fff; color: var(--navy-900) !important; border: 1px solid var(--navy-200); box-shadow: none; }
.btn-ghost:hover { background: var(--navy-50); }

/* Hero */
.hero {
    padding: 96px 0 80px; text-align: center;
    background:
        radial-gradient(ellipse 55% 45% at 50% -8%, rgba(88, 53, 219, 0.22) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 86% 20%, rgba(34, 211, 238, 0.14) 0%, transparent 70%);
}
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet); background: var(--violet-soft); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.12; margin: 20px auto 0; max-width: 820px; letter-spacing: -0.02em; }
.hero p { font-size: 19px; color: var(--navy-700); max-width: 640px; margin: 20px auto 0; }
.hero .actions { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Sections */
section { padding: 72px 0; }
.section-alt { background: var(--navy-50); }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
.lead { color: var(--navy-700); font-size: 17px; margin-top: 12px; max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 20px; margin-top: 40px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--navy-200); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 14px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--navy-700); font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--violet-soft); color: var(--violet); display: flex; align-items: center; justify-content: center; }
.icon svg { width: 22px; height: 22px; }
.step-no { font-size: 13px; font-weight: 700; color: var(--violet); letter-spacing: 0.06em; }

/* Contact */
.actions-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.contact { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 40px; }
.contact dl { margin: 0; }
.contact dt { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy-500); margin-top: 18px; }
.contact dt:first-child { margin-top: 0; }
.contact dd { margin: 4px 0 0; font-size: 16px; }

/* Legal pages */
.legal { padding: 64px 0 80px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); margin: 12px 0 0; letter-spacing: -0.01em; }
.legal .updated { color: var(--navy-500); font-size: 14px; margin-top: 8px; }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal h3 { font-size: 17px; margin-top: 24px; }
.legal p, .legal li { color: var(--navy-700); font-size: 16px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 6px 0; }
.note { background: var(--violet-soft); border-radius: 12px; padding: 16px 18px; color: var(--navy-900); }

/* Footer */
.site-footer { border-top: 1px solid var(--navy-200); padding: 40px 0; font-size: 14px; color: var(--navy-500); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--navy-700); text-decoration: none; }
.site-footer a:hover { color: var(--violet); }

@media (max-width: 640px) {
    .site-header nav a:not(.btn) { display: none; }
    .hero { padding: 64px 0 56px; }
    section { padding: 56px 0; }
}
