/* ==========================================================================
   Lintel Standard — Landing Page Stylesheet
   ========================================================================== */

:root {
    --color-primary: #10466E;
    --color-text: #2D2D2D;
    --color-text-secondary: #6B6B6B;
    --color-bg: #FAFAFA;
    --color-border: #E0E0E0;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --content-width: 720px;
    --content-narrow: 680px;
    --spacing-section: 64px;
}

/* Reset & Base
   ========================================================================== */

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography
   ========================================================================== */

h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.25rem;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 150ms ease;
}

a:hover {
    text-decoration: underline;
}

/* Layout
   ========================================================================== */

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

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

/* Section dividers */

.section-divider {
    border: none;
    height: 1px;
    background-color: var(--color-primary);
    max-width: var(--content-width);
    margin: 0 auto;
    opacity: 0.3;
}

/* Sections
   ========================================================================== */

section {
    padding: var(--spacing-section) 0;
}

/* Logo Bar
   ========================================================================== */

.logo-bar {
    border-bottom: 2px solid var(--color-primary);
    background-color: #FFFFFF;
    padding: 16px 24px;
}

.logo-bar-inner {
    max-width: var(--content-width);
    margin: 0 auto;
}

.logo-bar-logo {
    width: 220px;
}

/* Lead Section — Headline + Diagram + About
   ========================================================================== */

.lead {
    padding-top: 60px;
    padding-bottom: var(--spacing-section);
}

.lead-headline {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text);
    text-align: center;
    max-width: var(--content-narrow);
    margin: 0 auto 40px;
    padding: 0 24px;
}

.lead-diagram {
    max-width: 780px;
    margin: 0 auto 48px;
    padding: 0 24px;
}

.lead-diagram img {
    width: 100%;
}

.lead p {
    line-height: 1.7;
}

/* Research
   ========================================================================== */

.paper {
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.paper:first-of-type {
    margin-top: 1.25rem;
}

.paper-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text);
    margin-bottom: 0.375rem;
}

.paper-meta {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
    margin-bottom: 0.125rem;
}

.paper-link {
    display: inline-block;
    font-size: 0.875rem;
    margin-top: 0.375rem;
}

.paper-link-unavailable {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    font-style: italic;
    margin-top: 0.375rem;
}

/* Contact
   ========================================================================== */

.contact p {
    line-height: 1.7;
}

/* Footer
   ========================================================================== */

footer {
    border-top: 1px solid var(--color-border);
    padding: 32px 24px;
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Desktop
   ========================================================================== */

@media (min-width: 768px) {
    :root {
        --spacing-section: 80px;
    }

    .lead {
        padding-top: 80px;
    }

    .lead-headline {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

/* Print
   ========================================================================== */

@media print {
    body {
        background: #fff;
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .section-divider {
        background-color: #000;
    }

    footer {
        border-top-color: #000;
    }
}
