/* Shared article typography and spacing.
   Individual pages keep their component-specific styles; this file owns the
   common reading experience so argument pages cannot drift apart. */
:root {
    --page-bg: #05070f;
    --text: rgba(232, 236, 245, 0.9);
    --text-strong: rgba(232, 236, 245, 0.9);
    --text-muted: rgba(160, 176, 200, 0.72);
    --heading: #e8ecf5;
    --heading-soft: #c8d3e6;
    --accent: #6ea8ff;
    --rule: rgba(110, 168, 255, 0.28);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--page-bg);
    color: var(--text);
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 20px;
    line-height: 1.68;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 8% 12%, rgba(255,255,255,0.55) 0.5px, transparent 0.5px),
        radial-gradient(circle at 22% 22%, rgba(255,255,255,0.35) 0.8px, transparent 0.8px),
        radial-gradient(circle at 46% 8%, rgba(255,255,255,0.45) 0.5px, transparent 0.5px),
        radial-gradient(circle at 67% 18%, rgba(255,255,255,0.5) 0.7px, transparent 0.7px),
        radial-gradient(circle at 88% 10%, rgba(255,255,255,0.35) 0.8px, transparent 0.8px),
        radial-gradient(circle at 14% 62%, rgba(255,255,255,0.35) 0.5px, transparent 0.5px),
        radial-gradient(circle at 38% 76%, rgba(255,255,255,0.28) 0.8px, transparent 0.8px),
        radial-gradient(circle at 78% 68%, rgba(255,255,255,0.4) 0.5px, transparent 0.5px),
        linear-gradient(180deg, rgba(5, 7, 15, 0.1), rgba(5, 7, 15, 0.96));
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 42px 24px 92px;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    align-items: center;
    margin-bottom: 58px;
    color: var(--text-muted);
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.article-site-link {
    margin-right: auto;
    color: var(--heading);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 15px;
    letter-spacing: 2px;
    text-decoration: none;
}

.article-site-link:hover {
    color: #ffffff;
}

a {
    color: var(--accent);
    text-decoration-color: rgba(110, 168, 255, 0.42);
    text-underline-offset: 3px;
}

a:hover {
    color: #a0c4ff;
    text-decoration-color: #a0c4ff;
}

h1 {
    max-width: 760px;
    margin: 0 0 24px;
    color: var(--heading);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 300;
    line-height: 1.02;
    letter-spacing: 0;
}

h2 {
    margin: 46px 0 16px;
    color: var(--heading-soft);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
}

h3 {
    margin: 34px 0 12px;
    color: rgba(200, 211, 230, 0.82);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
}

p {
    margin: 0 0 20px;
}

ul {
    margin: 0 0 24px;
    padding-left: 24px;
}

li {
    margin-bottom: 8px;
}

strong {
    color: var(--text-strong);
    font-weight: 500;
}

em {
    color: var(--text);
}

.summary,
.thesis-intro,
.intro {
    color: var(--text);
    font-size: inherit;
    line-height: inherit;
}

.summary {
    margin: 0 0 34px;
    padding-left: 18px;
    border-left: 2px solid var(--accent);
}

.article-hero {
    margin: 24px 0 18px;
    text-align: center;
}

.article-hero img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 340px;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
}

.thesis-subtitle,
.subtitle {
    margin-top: -14px;
    margin-bottom: 30px;
    color: var(--text-strong);
    font-size: 20px;
    line-height: 1.55;
    font-style: italic;
}

.thesis-reference,
.note {
    margin: 24px 0;
    padding-left: 14px;
    border-left: 2px solid var(--rule);
    color: var(--text-muted);
    font-size: 18px;
    font-style: italic;
}

.thesis-criteria,
.thesis-evidence {
    margin: 0 0 24px;
    padding-left: 26px;
}

.thesis-criteria li,
.thesis-evidence li {
    margin-bottom: 12px;
    color: var(--text);
}

.thesis-table,
.chronology-table,
.evidence-table {
    color: var(--text);
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 18px;
}

.thesis-table th,
.chronology-table th,
.evidence-table th {
    color: var(--text-strong);
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 15px;
}

blockquote {
    margin: 28px 0;
    padding: 18px 22px;
    border-left: 2px solid var(--accent);
    background: rgba(110, 168, 255, 0.06);
}

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

.related-arguments,
.related {
    margin-top: 46px;
    padding-top: 18px;
    border-top: 1px solid var(--rule);
}

.related-arguments h2,
.related h2 {
    margin-top: 0;
}

@media (max-width: 700px) {
    body {
        font-size: 18px;
        line-height: 1.64;
    }

    main {
        padding: 30px 20px 72px;
    }

    nav {
        display: block;
        margin-bottom: 42px;
        line-height: 1.9;
    }

    h2 {
        font-size: 28px;
    }

    .thesis-subtitle,
    .subtitle {
        font-size: 20px;
    }

    .thesis-table,
    .chronology-table,
    .evidence-table {
        font-size: 16px;
    }
}
