/* ── Workbook Landing Page ──────────────────────────────────── */

:root {
    --ln-bg:      oklch(0.97 0.004 42);
    --ln-surface: oklch(0.995 0.002 42);
    --ln-text:    oklch(0.15 0.012 42);
    --ln-muted:   oklch(0.42 0.012 42);
    --ln-dim:     oklch(0.58 0.010 42);
    --ln-border:  oklch(0.88 0.007 42);
    --ln-accent:  oklch(0.65 0.21 42);
    --ln-accent-h:oklch(0.60 0.21 42);
    --ln-accent-bg: oklch(0.95 0.04 42);
    --ln-font:    'Manrope', system-ui, sans-serif;
    --ln-display: 'Barlow Condensed', system-ui, sans-serif;
    --ln-radius:  8px;
    --ln-max:     1120px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--ln-font);
    background: var(--ln-bg);
    color: var(--ln-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── Nav ───────────────────────────────────────────────────── */

.ln-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px clamp(20px, 5vw, 48px);
    background: oklch(0.97 0.004 42 / 0.95);
}

.ln-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 700 1.3rem/1 var(--ln-display);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ln-text);
    text-decoration: none;
}

.ln-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.ln-nav-links a {
    font: 500 0.85rem/1 var(--ln-font);
    color: var(--ln-muted);
    text-decoration: none;
    transition: color 0.15s;
}
.ln-nav-links a:hover { color: var(--ln-text); }

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

.ln-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: 600 0.9rem/1 var(--ln-font);
    padding: 12px 28px;
    border-radius: var(--ln-radius);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.12s, background 0.15s;
}
.ln-btn:hover { transform: translateY(-1px); }

.ln-btn--primary {
    background: var(--ln-accent);
    color: oklch(0.99 0 0);
}
.ln-btn--primary:hover { background: var(--ln-accent-h); }

.ln-btn--ghost {
    background: transparent;
    color: var(--ln-text);
    border: 1px solid var(--ln-border);
}
.ln-btn--ghost:hover { border-color: var(--ln-muted); }

.ln-btn--sm {
    padding: 8px 18px;
    font-size: 0.8rem;
    background: var(--ln-accent);
    color: oklch(0.99 0 0);
}
.ln-btn--sm:hover { background: var(--ln-accent-h); }

.ln-btn--wide { width: 100%; padding: 14px; }

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

.ln-hero {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
    padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 48px);
    max-width: 1280px;
    margin: 0 auto;
}

.ln-hero-content {
    max-width: 520px;
}

.ln-hero h1 {
    font: 800 clamp(2.2rem, 5vw, 3.6rem)/1.05 var(--ln-display);
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--ln-text);
}

.ln-hero-accent {
    color: var(--ln-accent);
}

.ln-hero-sub {
    margin-top: 20px;
    font: 400 clamp(0.95rem, 1.5vw, 1.1rem)/1.65 var(--ln-font);
    color: var(--ln-muted);
    max-width: 45ch;
}

.ln-hero-actions {
    margin-top: 32px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ln-hero-img {
    position: relative;
}

.ln-hero-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow:
        0 4px 24px oklch(0.10 0.01 42 / 0.12),
        0 1px 4px oklch(0.10 0.01 42 / 0.08);
}

/* ── Section header ────────────────────────────────────────── */

.ln-section-header {
    max-width: var(--ln-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 48px);
    margin-bottom: clamp(48px, 6vw, 80px);
}

.ln-eyebrow {
    display: block;
    font: 700 0.7rem/1 var(--ln-display);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ln-accent);
    margin-bottom: 12px;
}

.ln-section-header h2 {
    font: 700 clamp(1.6rem, 3.5vw, 2.4rem)/1.1 var(--ln-display);
    text-transform: uppercase;
    color: var(--ln-text);
    max-width: 20ch;
}

/* ── Features ──────────────────────────────────────────────── */

.ln-features {
    padding: clamp(64px, 10vw, 120px) 0;
}

.ln-feature {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 48px);
    margin-bottom: clamp(64px, 8vw, 112px);
}

.ln-feature:last-child { margin-bottom: 0; }

.ln-feature--reverse {
    grid-template-columns: 1.3fr 1fr;
}
.ln-feature--reverse .ln-feature-text { order: 2; }
.ln-feature--reverse .ln-feature-img  { order: 1; }

.ln-feature-text h3 {
    font: 700 clamp(1.2rem, 2.5vw, 1.6rem)/1.15 var(--ln-display);
    text-transform: uppercase;
    color: var(--ln-text);
    margin-bottom: 12px;
}

.ln-feature-text p {
    font: 400 0.95rem/1.7 var(--ln-font);
    color: var(--ln-muted);
    max-width: 42ch;
}

.ln-feature-img img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--ln-border);
    box-shadow: 0 2px 16px oklch(0.10 0.01 42 / 0.08);
}

/* ── Points / stats ────────────────────────────────────────── */

.ln-points {
    display: flex;
    justify-content: center;
    gap: clamp(32px, 6vw, 80px);
    padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 48px);
    border-top: 1px solid var(--ln-border);
    border-bottom: 1px solid var(--ln-border);
}

.ln-point {
    text-align: center;
}

.ln-point-num {
    display: block;
    font: 800 clamp(1.8rem, 4vw, 2.8rem)/1 var(--ln-display);
    color: var(--ln-accent);
    letter-spacing: -0.01em;
}

.ln-point-label {
    display: block;
    margin-top: 8px;
    font: 500 0.8rem/1.3 var(--ln-font);
    color: var(--ln-muted);
    max-width: 16ch;
}

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

.ln-contact {
    padding: clamp(64px, 10vw, 120px) clamp(20px, 5vw, 48px);
}

.ln-contact-content {
    max-width: 560px;
    margin: 0 auto;
}

.ln-contact-content h2 {
    font: 700 clamp(1.6rem, 3.5vw, 2.4rem)/1.1 var(--ln-display);
    text-transform: uppercase;
    color: var(--ln-text);
    margin-bottom: 12px;
}

.ln-contact-content > p {
    font: 400 0.95rem/1.6 var(--ln-font);
    color: var(--ln-muted);
    margin-bottom: 32px;
}

.ln-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ln-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ln-form input {
    font: 400 0.9rem/1 var(--ln-font);
    padding: 14px 16px;
    border: 1px solid var(--ln-border);
    border-radius: var(--ln-radius);
    background: var(--ln-surface);
    color: var(--ln-text);
    outline: none;
    transition: border-color 0.15s;
}
.ln-form input:focus {
    border-color: var(--ln-accent);
}
.ln-form input::placeholder {
    color: var(--ln-dim);
}

.ln-sent-msg {
    font: 500 1.05rem/1.6 var(--ln-font);
    color: var(--ln-muted);
    margin-top: 8px;
}

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

.ln-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 32px;
    font: 500 0.75rem/1 var(--ln-font);
    color: var(--ln-dim);
}

.ln-footer span:first-child {
    font-family: var(--ln-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--ln-muted);
}

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

@media (max-width: 768px) {
    .ln-hero {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .ln-hero-img { order: -1; }

    .ln-feature,
    .ln-feature--reverse {
        grid-template-columns: 1fr;
    }
    .ln-feature--reverse .ln-feature-text { order: 1; }
    .ln-feature--reverse .ln-feature-img  { order: -1; }
    .ln-feature .ln-feature-img { order: -1; }

    .ln-points {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .ln-form-row {
        grid-template-columns: 1fr;
    }

    .ln-nav-links {
        gap: 16px;
    }
    .ln-nav-links a:not(.ln-btn) {
        display: none;
    }
}
