/* CyVine Ledger — Landing Page
   Enterprise infrastructure positioning for P&C claims executives
   Palette: Deep navy, cool neutrals, restrained blue accent */

/* ──────────────────────────────
   Design Tokens
   ────────────────────────────── */

:root {
    --bg-body:        #0b0f19;
    --bg-section:     #0f1420;
    --bg-section-alt: #111827;
    --bg-card:        #161d2e;
    --bg-card-hover:  #1a2236;
    --bg-aside:       #1c2640;

    --border:         #1e2a3e;
    --border-light:   #283650;
    --border-accent:  rgba(96, 165, 250, 0.25);

    --text-heading:   #f1f5f9;
    --text-body:      #94a3b8;
    --text-muted:     #64748b;
    --text-label:     #60a5fa;

    --accent:         #60a5fa;
    --accent-dim:     rgba(96, 165, 250, 0.12);
    --accent-hover:   #3b82f6;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
                 Helvetica, Arial, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas,
                 'Liberation Mono', monospace;

    --container:    1120px;
    --section-v:    96px;
    --section-v-sm: 64px;
}


/* ──────────────────────────────
   Reset & Base
   ────────────────────────────── */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-body);
    color: var(--text-body);
    line-height: 1.7;
    font-size: 16px;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }


/* ──────────────────────────────
   Layout
   ────────────────────────────── */

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


/* ──────────────────────────────
   Header
   ────────────────────────────── */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    height: 64px;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-mark {
    color: var(--accent);
    font-size: 22px;
    line-height: 1;
}

.logo-text {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-heading);
    letter-spacing: -0.3px;
}

.site-nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
}

.site-nav a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.2s;
    font-weight: 450;
}

.site-nav a:hover {
    color: var(--text-heading);
}

.header-cta {
    flex-shrink: 0;
    padding: 8px 20px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-heading);
    transition: all 0.2s;
}

.header-cta:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-body);
    border-radius: 1px;
}


/* ──────────────────────────────
   Buttons
   ────────────────────────────── */

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: #0b0f19;
    border: 1px solid var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn-ghost {
    background: transparent;
    color: var(--text-heading);
    border: 1px solid var(--border-light);
}

.btn-ghost:hover {
    border-color: var(--text-body);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}


/* ──────────────────────────────
   Section Utilities
   ────────────────────────────── */

.section-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-label);
    margin-bottom: 16px;
}

section h2 {
    font-size: 36px;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
}

.section-intro {
    font-size: 17px;
    color: var(--text-body);
    max-width: 680px;
    line-height: 1.75;
    margin-bottom: 56px;
}


/* ──────────────────────────────
   Hero
   ────────────────────────────── */

.hero {
    padding: 160px 0 var(--section-v);
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(96, 165, 250, 0.05) 0%, transparent 70%),
        var(--bg-body);
}

.hero-inner {
    max-width: 760px;
}

.hero h1 {
    font-size: 44px;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin-bottom: 28px;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-body);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 660px;
}

.hero-risk {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 660px;
    border-left: 2px solid var(--border-light);
    padding-left: 20px;
}

.hero-audience {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 40px;
    letter-spacing: 0.1px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}


/* ──────────────────────────────
   Why a Claims Decision Ledger Exists
   ────────────────────────────── */

.why-ledger {
    padding: var(--section-v) 0;
    background: var(--bg-section-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.why-ledger-body {
    max-width: 740px;
}

.why-ledger-body > p {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 24px;
}

.why-ledger-body > p:last-child {
    margin-bottom: 0;
}

.why-ledger-list {
    margin: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-ledger-list li {
    font-size: 15px;
    line-height: 1.7;
    padding-left: 20px;
    position: relative;
}

.why-ledger-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-light);
}

.why-ledger-list li strong {
    color: var(--text-heading);
    font-weight: 600;
}


/* ──────────────────────────────
   How It Works — Steps
   ────────────────────────────── */

.how-it-works {
    padding: var(--section-v) 0;
    background: var(--bg-section);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
}

.step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-accent);
    border-radius: 50%;
    background: var(--accent-dim);
    flex-shrink: 0;
}

.step-line {
    width: 1px;
    flex: 1;
    background: var(--border);
    margin: 8px 0;
}

.step-content {
    padding: 8px 0 48px;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.step-content p {
    font-size: 15px;
    line-height: 1.75;
    max-width: 620px;
}


/* ──────────────────────────────
   What It Governs
   ────────────────────────────── */

.governs {
    padding: var(--section-v) 0;
    background: var(--bg-section-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.governs-item {
    padding: 36px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.25s;
}

.governs-item:hover {
    border-color: var(--border-light);
}

.governs-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.governs-item p {
    font-size: 15px;
    line-height: 1.7;
}


/* ──────────────────────────────
   Engagement / Pricing
   ────────────────────────────── */

.engagement {
    padding: var(--section-v) 0;
    background: var(--bg-section);
}

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

.pricing-card {
    padding: 40px 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.25s;
}

.pricing-card:hover {
    border-color: var(--border-light);
}

.pricing-card.featured {
    border-color: var(--border-accent);
}

.pricing-phase {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-label);
    margin-bottom: 12px;
}

.pricing-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 16px;
}

.pricing-amount {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 4px;
}

.pricing-duration {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.pricing-card > p {
    font-size: 15px;
    line-height: 1.7;
}


/* ──────────────────────────────
   CTA
   ────────────────────────────── */

.cta {
    padding: var(--section-v) 0;
    background:
        radial-gradient(ellipse 50% 60% at 50% 100%, rgba(96, 165, 250, 0.04) 0%, transparent 70%),
        var(--bg-section-alt);
    border-top: 1px solid var(--border);
}

.cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: 20px;
}

.cta p {
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 16px;
}

.cta-note {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.cta-actions .btn-ghost {
    font-size: 14px;
    padding: 10px 24px;
}


/* ──────────────────────────────
   About / Security / Deployment
   ────────────────────────────── */

.about {
    padding: var(--section-v) 0;
    background: var(--bg-section);
    border-top: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 740px;
}

.about-block h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-block p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-block p:last-child {
    margin-bottom: 0;
}


/* ──────────────────────────────
   Footer
   ────────────────────────────── */

.site-footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-body);
}

.footer-inner {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-legal {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.6;
}


/* ──────────────────────────────
   Responsive
   ────────────────────────────── */

@media (max-width: 768px) {
    :root {
        --section-v: var(--section-v-sm);
    }

    .container {
        padding: 0 20px;
    }

    .site-nav,
    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .site-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-body);
        border-bottom: 1px solid var(--border);
        padding: 20px 32px;
        gap: 16px;
    }

    .hero {
        padding: 120px 0 var(--section-v);
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero-sub {
        font-size: 16px;
    }

    section h2 {
        font-size: 26px;
    }

    section h2 br {
        display: none;
    }

    .governs-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .step {
        grid-template-columns: 48px 1fr;
        gap: 20px;
    }

    .step-content {
        padding-bottom: 36px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }

    .pricing-card {
        padding: 28px 24px;
    }

    .governs-item {
        padding: 28px 24px;
    }
}
