:root {
    --blue-900: #0b3a66;
    --blue-700: #1867c0;
    --blue-500: #1697f6;
    --blue-300: #7bc6ff;
    --blue-100: #aeddff;
    --blue-50: #eaf5ff;
    --ink: #1f2430;
    --muted: #5a6472;
    --bg: #ffffff;
    --surface: #f6fafe;
    --border: #e6edf5;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(24, 103, 192, 0.10);
    --maxw: 1120px;
}

* { 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(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.22rem;
    color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
    color: var(--muted);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
}
.nav a:hover { color: var(--blue-700); text-decoration: none; background: var(--blue-50); }
.nav .btn { margin-left: 8px; }
/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    text-decoration: none !important;
}
.btn-primary {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    color: #fff;
    box-shadow: 0 8px 20px rgba(24, 103, 192, 0.28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(24, 103, 192, 0.34); }
.btn-ghost { background: #fff; color: var(--blue-700); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--blue-300); background: var(--blue-50); }
.btn-light { background: #fff; color: var(--blue-700); }
.btn-light:hover { transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 500px at 85% -10%, var(--blue-100) 0%, transparent 55%),
        radial-gradient(700px 500px at -10% 10%, var(--blue-50) 0%, transparent 55%),
        linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
    border-bottom: 1px solid var(--border);
}
.hero .container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    padding-top: 88px;
    padding-bottom: 96px;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue-50);
    color: var(--blue-700);
    border: 1px solid var(--blue-100);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; }
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { color: var(--muted); font-size: 0.9rem; margin-top: 16px; }

/* Mock dashboard */
.mock {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px;
}
.mock .mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mock .mock-title { font-weight: 700; }
.mock .mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; display: inline-block; }
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.mock-row:last-child { border-bottom: none; }
.mock-row .name { font-weight: 600; }
.mock-row .name span { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.mock-row .amt { font-weight: 700; }
.mock-row .amt.neg { color: #e5533d; }
.mock-row .amt.pos { color: #2e8b57; }
.mock .tag { font-size: 0.75rem; padding: 2px 8px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    border-radius: 12px;
    background: var(--blue-50);
    margin-bottom: 16px;
}
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }
/* ---------- Steps ---------- */
.step { display: flex; gap: 18px; }
.step .num {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* ---------- CTA ---------- */
.cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
    color: #fff;
    text-align: center;
    border-radius: 24px;
    padding: 64px 32px;
}
.cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; }
.cta p { color: rgba(255, 255, 255, 0.9); font-size: 1.08rem; max-width: 40em; margin: 0 auto 28px; }
.cta .btn-light { font-size: 1rem; padding: 14px 28px; }

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    color: var(--muted);
    font-size: 0.92rem;
}
.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.site-footer .brand { font-size: 1.05rem; }
.site-footer .links { display: flex; gap: 20px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--blue-700); }

/* ---------- Legal / privacy ---------- */
.legal {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 24px 88px;
}
.legal h1 { font-size: 2.1rem; font-weight: 800; }
.legal h2 { font-size: 1.2rem; font-weight: 700; margin: 2em 0 0.5em; }
.legal .last-updated { color: var(--muted); margin: 0 0 2em; }
.legal ul { margin: 0.5em 0 1em; padding-left: 1.4em; }
.legal li { margin: 0.35em 0; }
.legal strong { font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .hero .container { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .nav a.nav-link { display: none; }
}

/* ---------- Coming soon ---------- */
.coming-soon {
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 96px 0;
    background:
        radial-gradient(900px 480px at 50% -10%, var(--blue-100) 0%, transparent 60%),
        radial-gradient(640px 420px at 50% 110%, var(--blue-50) 0%, transparent 60%),
        linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
}
.coming-soon .container { max-width: 720px; }
.cs-mark { margin-bottom: 24px; }
.cs-mark svg { width: 88px; height: 88px; }
.coming-soon h1 {
    font-size: clamp(2.6rem, 7vw, 4.2rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 18px;
}
.cs-tagline {
    max-width: 34em;
    margin: 0 auto 30px;
    color: var(--muted);
    font-size: 1.18rem;
}
.cs-note { color: var(--muted); margin-top: 24px; font-size: 0.95rem; }
