/* ==========================================================================
   sim-ai.org - Academic Research Publication Stylesheet
   Typography: Cormorant Garamond, Libre Baskerville, Source Sans 3, JetBrains Mono
   Palette: Scholarly Blue (#1B2A4A, #3A5BA0, #4A6FA5) + Thesis Gold (#C4922A)
   ========================================================================== */

/* --- CSS Custom Properties --- */
:root {
    --color-deep-navy: #1B2A4A;
    --color-body-text: #2D3748;
    --color-cambridge-blue: #3A5BA0;
    --color-oxford-blue: #1E3A6E;
    --color-thesis-gold: #C4922A;
    --color-parchment: #FAFBFD;
    --color-archive-cream: #F4F6F9;
    --color-dusty-blue: #B8C4D4;
    --color-scholarly-gray: #5A6B7D;
    --color-reference-blue: #4A6FA5;
    --color-grid: #E8ECF2;
    --color-theorem-bg: #F0F3F8;

    --font-display: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Libre Baskerville', 'Georgia', serif;
    --font-sans: 'Source Sans 3', 'Helvetica Neue', sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', monospace;

    --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1.0);

    --nav-width: 48px;
    --container-width: 1200px;
    --main-column: 680px;
    --sidenote-column: 360px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.72;
    color: var(--color-body-text);
    background-color: var(--color-parchment);
    background-image:
        linear-gradient(var(--color-dusty-blue) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-dusty-blue) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    background-attachment: fixed;
    /* Graph paper at 5% opacity */
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-color: rgba(250, 251, 253, 0.95);
    z-index: 0;
    pointer-events: none;
}

/* --- Fixed Left Navigation Sidebar --- */
#section-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--nav-width);
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 100;
    background: transparent;
}

.nav-waypoint {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--color-dusty-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 300ms var(--ease-smooth);
    position: relative;
    background: var(--color-parchment);
}

.nav-waypoint span {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    color: var(--color-scholarly-gray);
    transition: color 300ms var(--ease-smooth);
}

.nav-waypoint.active {
    background: var(--color-cambridge-blue);
    border-color: var(--color-cambridge-blue);
}

.nav-waypoint.active span {
    color: var(--color-parchment);
}

.nav-waypoint .sigma-nav-icon {
    color: var(--color-scholarly-gray);
    transition: color 300ms var(--ease-smooth);
}

.nav-waypoint.active .sigma-nav-icon {
    color: var(--color-parchment);
}

/* Tooltip */
.nav-waypoint::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 44px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-deep-navy);
    color: var(--color-parchment);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    padding: 4px 10px;
    border-radius: 3px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms var(--ease-smooth);
}

.nav-waypoint:hover::after {
    opacity: 1;
}

/* --- Landing Title Plate --- */
.landing-plate {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: var(--color-deep-navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    scroll-snap-align: start;
}

.landing-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.sigma-logo {
    opacity: 0;
}

.logo-circle {
    stroke-dasharray: 201;
    stroke-dashoffset: 201;
}

.landing-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-parchment);
    opacity: 0;
    transform: translateY(10px);
}

.landing-subtitle {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-dusty-blue);
    letter-spacing: 0.08em;
    opacity: 0;
    transform: translateY(10px);
}

.landing-title.visible,
.landing-subtitle.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 800ms var(--ease-smooth), transform 800ms var(--ease-smooth);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-bounce 2s infinite var(--ease-smooth);
    opacity: 0.5;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Main Content Container --- */
#main-content {
    position: relative;
    z-index: 1;
    padding-left: var(--nav-width);
    background-color: var(--color-parchment);
}

/* --- Content Sections --- */
.content-section {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    scroll-snap-align: start;
}

/* Chapter Plate */
.chapter-plate {
    position: relative;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    padding: 0;
    margin-bottom: 40px;
    overflow: hidden;
}

.chapter-number-watermark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: 128px;
    font-weight: 600;
    color: var(--color-deep-navy);
    opacity: 0.08;
    line-height: 1;
    user-select: none;
}

.chapter-title {
    position: relative;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-deep-navy);
    z-index: 1;
}

/* Section Body - Two Column Layout */
.section-body {
    display: grid;
    grid-template-columns: 1fr var(--sidenote-column);
    gap: 60px;
    padding-bottom: 80px;
}

.main-column {
    max-width: var(--main-column);
}

.main-column p {
    margin-bottom: 1.5em;
    color: var(--color-body-text);
}

/* Sidenote Column */
.sidenote-column {
    padding-top: 0;
}

.sidenote {
    margin-bottom: 32px;
    padding: 12px 0;
    border-top: 1px solid var(--color-grid);
}

.sidenote-number {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-reference-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid var(--color-reference-blue);
    border-radius: 50%;
    margin-bottom: 6px;
}

.sidenote p {
    font-family: var(--font-sans);
    font-size: 13px;
    line-height: 1.55;
    color: var(--color-scholarly-gray);
    margin-bottom: 0;
}

.sidenote em {
    font-style: italic;
}

/* Supplementary Note in Sidenote */
.supplementary-note {
    border-top: 2px solid var(--color-cambridge-blue);
}

.note-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-cambridge-blue);
    margin-bottom: 8px;
}

.mini-chart {
    width: 100%;
    max-width: 160px;
    margin: 8px 0;
}

.mini-caption {
    font-family: var(--font-sans);
    font-size: 11px;
    line-height: 1.4;
    color: var(--color-scholarly-gray);
}

/* --- Abstract Block --- */
.abstract-block {
    border: 1px solid var(--color-dusty-blue);
    background: var(--color-archive-cream);
    padding: 24px 28px;
    margin-bottom: 2em;
}

.abstract-block p {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 0.8em;
}

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

/* --- Theorem/Definition Block --- */
.theorem-block {
    border-left: 4px solid var(--color-cambridge-blue);
    background: var(--color-theorem-bg);
    padding: 20px 24px;
    margin: 1.5em 0;
}

.theorem-block p {
    margin-bottom: 0;
}

/* --- Code Block --- */
.code-block {
    background: var(--color-archive-cream);
    border: 1px solid var(--color-grid);
    border-radius: 2px;
    padding: 20px 24px;
    margin: 1.5em 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
}

.code-block code {
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-deep-navy);
    tab-size: 4;
}

.code-keyword { color: var(--color-cambridge-blue); font-weight: 400; }
.code-class { color: var(--color-deep-navy); font-weight: 700; }
.code-function { color: var(--color-oxford-blue); }

.code-inline {
    font-family: var(--font-mono);
    font-size: 14px;
    background: var(--color-archive-cream);
    padding: 2px 6px;
    color: var(--color-deep-navy);
}

/* --- Subsection Title --- */
.subsection-title {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 600;
    color: var(--color-deep-navy);
    margin: 2em 0 1em;
    letter-spacing: 0.01em;
}

/* --- Term Highlight (hover interaction) --- */
.term-highlight {
    border-bottom: 1px dashed var(--color-reference-blue);
    cursor: help;
    transition: background-color 300ms var(--ease-smooth);
}

.term-highlight:hover {
    background-color: var(--color-theorem-bg);
}

.term-tooltip {
    position: absolute;
    background: var(--color-deep-navy);
    color: var(--color-parchment);
    font-family: var(--font-sans);
    font-size: 13px;
    line-height: 1.5;
    padding: 10px 14px;
    border-radius: 3px;
    max-width: 300px;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms var(--ease-smooth);
    box-shadow: 0 4px 16px rgba(27, 42, 74, 0.2);
}

.term-tooltip.visible {
    opacity: 1;
}

/* --- Citation Markers --- */
.citation-marker {
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--color-reference-blue);
    cursor: pointer;
    padding: 0 2px;
    transition: color 200ms var(--ease-smooth);
}

.citation-marker:hover {
    color: var(--color-thesis-gold);
}

.citation-marker.highlighted {
    color: var(--color-thesis-gold);
    font-weight: 600;
}

/* --- Figures --- */
.figure-full-width {
    margin: 2em -60px 2em 0;
    width: calc(100% + 60px);
}

.figure-caption {
    font-family: var(--font-body);
    font-size: 13px;
    font-style: italic;
    color: var(--color-scholarly-gray);
    padding: 12px 0 0 0;
    line-height: 1.55;
}

/* Network Visualization */
.network-visualization,
.phase-visualization,
.citation-visualization {
    width: 100%;
    height: auto;
    background: var(--color-parchment);
    border: 1px solid var(--color-grid);
}

.network-node,
.network-edge,
.phase-point,
.citation-edge,
.citation-node rect {
    opacity: 0;
    transition: opacity 600ms var(--ease-smooth);
}

.network-visualization.animated .network-edge {
    opacity: 1;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: draw-edge 1.5s var(--ease-smooth) forwards;
}

.network-visualization.animated .network-node {
    opacity: 0;
    animation: fade-in-node 600ms var(--ease-smooth) forwards;
}

.network-visualization.animated .network-node:nth-child(1) { animation-delay: 200ms; }
.network-visualization.animated .network-node:nth-child(2) { animation-delay: 350ms; }
.network-visualization.animated .network-node:nth-child(3) { animation-delay: 500ms; }
.network-visualization.animated .network-node:nth-child(4) { animation-delay: 650ms; }
.network-visualization.animated .network-node:nth-child(5) { animation-delay: 800ms; }
.network-visualization.animated .network-node:nth-child(6) { animation-delay: 950ms; }
.network-visualization.animated .network-node:nth-child(7) { animation-delay: 1100ms; }
.network-visualization.animated .network-node:nth-child(8) { animation-delay: 1250ms; }

.network-visualization.animated .network-edge:nth-child(1) { animation-delay: 600ms; }
.network-visualization.animated .network-edge:nth-child(2) { animation-delay: 700ms; }
.network-visualization.animated .network-edge:nth-child(3) { animation-delay: 800ms; }
.network-visualization.animated .network-edge:nth-child(4) { animation-delay: 900ms; }
.network-visualization.animated .network-edge:nth-child(5) { animation-delay: 1000ms; }
.network-visualization.animated .network-edge:nth-child(6) { animation-delay: 1100ms; }
.network-visualization.animated .network-edge:nth-child(7) { animation-delay: 1200ms; }
.network-visualization.animated .network-edge:nth-child(8) { animation-delay: 1300ms; }
.network-visualization.animated .network-edge:nth-child(9) { animation-delay: 1400ms; }
.network-visualization.animated .network-edge:nth-child(10) { animation-delay: 1500ms; }
.network-visualization.animated .network-edge:nth-child(11) { animation-delay: 1600ms; }
.network-visualization.animated .network-edge:nth-child(12) { animation-delay: 1700ms; }

@keyframes draw-edge {
    to { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes fade-in-node {
    to { opacity: 1; }
}

/* Phase Space Animation */
.phase-visualization.animated .phase-point {
    animation: fade-in-point 400ms var(--ease-smooth) forwards;
}

.phase-visualization.animated .phase-point:nth-child(1) { animation-delay: 200ms; }
.phase-visualization.animated .phase-point:nth-child(2) { animation-delay: 260ms; }
.phase-visualization.animated .phase-point:nth-child(3) { animation-delay: 320ms; }
.phase-visualization.animated .phase-point:nth-child(4) { animation-delay: 380ms; }
.phase-visualization.animated .phase-point:nth-child(5) { animation-delay: 440ms; }
.phase-visualization.animated .phase-point:nth-child(6) { animation-delay: 500ms; }
.phase-visualization.animated .phase-point:nth-child(7) { animation-delay: 560ms; }
.phase-visualization.animated .phase-point:nth-child(8) { animation-delay: 620ms; }
.phase-visualization.animated .phase-point:nth-child(9) { animation-delay: 680ms; }
.phase-visualization.animated .phase-point:nth-child(10) { animation-delay: 740ms; }
.phase-visualization.animated .phase-point:nth-child(11) { animation-delay: 800ms; }
.phase-visualization.animated .phase-point:nth-child(12) { animation-delay: 860ms; }
.phase-visualization.animated .phase-point:nth-child(13) { animation-delay: 920ms; }
.phase-visualization.animated .phase-point:nth-child(14) { animation-delay: 980ms; }
.phase-visualization.animated .phase-point:nth-child(15) { animation-delay: 1040ms; }
.phase-visualization.animated .phase-point:nth-child(16) { animation-delay: 1100ms; }
.phase-visualization.animated .phase-point:nth-child(17) { animation-delay: 1160ms; }
.phase-visualization.animated .phase-point:nth-child(18) { animation-delay: 1220ms; }
.phase-visualization.animated .phase-point:nth-child(19) { animation-delay: 1280ms; }
.phase-visualization.animated .phase-point:nth-child(20) { animation-delay: 1340ms; }
.phase-visualization.animated .phase-point:nth-child(21) { animation-delay: 1400ms; }
.phase-visualization.animated .phase-point:nth-child(22) { animation-delay: 1460ms; }
.phase-visualization.animated .phase-point:nth-child(23) { animation-delay: 1520ms; }

@keyframes fade-in-point {
    from { opacity: 0; transform: scale(0); }
    to { opacity: var(--point-opacity, 0.7); transform: scale(1); }
}

.phase-visualization.animated .golden-trajectory {
    animation: draw-trajectory 3s var(--ease-smooth) 1.8s forwards;
}

@keyframes draw-trajectory {
    to { stroke-dashoffset: 0; }
}

/* Citation Network Animation */
.citation-visualization.animated .citation-edge {
    opacity: 0;
    animation: fade-in-edge 500ms var(--ease-smooth) forwards;
}

.citation-visualization.animated .citation-edge:nth-child(1) { animation-delay: 300ms; }
.citation-visualization.animated .citation-edge:nth-child(2) { animation-delay: 400ms; }
.citation-visualization.animated .citation-edge:nth-child(3) { animation-delay: 500ms; }
.citation-visualization.animated .citation-edge:nth-child(4) { animation-delay: 600ms; }
.citation-visualization.animated .citation-edge:nth-child(5) { animation-delay: 700ms; }
.citation-visualization.animated .citation-edge:nth-child(6) { animation-delay: 800ms; }
.citation-visualization.animated .citation-edge:nth-child(7) { animation-delay: 900ms; }
.citation-visualization.animated .citation-edge:nth-child(8) { animation-delay: 1000ms; }
.citation-visualization.animated .citation-edge:nth-child(9) { animation-delay: 1100ms; }
.citation-visualization.animated .citation-edge:nth-child(10) { animation-delay: 1200ms; }
.citation-visualization.animated .citation-edge:nth-child(11) { animation-delay: 1300ms; }
.citation-visualization.animated .citation-edge:nth-child(12) { animation-delay: 1400ms; }

@keyframes fade-in-edge {
    to { opacity: 1; }
}

.citation-visualization.animated .citation-node rect {
    animation: fade-in-node 500ms var(--ease-smooth) forwards;
}

.citation-visualization.animated .citation-node:nth-child(1) rect { animation-delay: 100ms; }
.citation-visualization.animated .citation-node:nth-child(2) rect { animation-delay: 250ms; }
.citation-visualization.animated .citation-node:nth-child(3) rect { animation-delay: 400ms; }
.citation-visualization.animated .citation-node:nth-child(4) rect { animation-delay: 550ms; }
.citation-visualization.animated .citation-node:nth-child(5) rect { animation-delay: 700ms; }
.citation-visualization.animated .citation-node:nth-child(6) rect { animation-delay: 850ms; }
.citation-visualization.animated .citation-node:nth-child(7) rect { animation-delay: 1000ms; }
.citation-visualization.animated .citation-node:nth-child(8) rect { animation-delay: 1150ms; }
.citation-visualization.animated .citation-node:nth-child(9) rect { animation-delay: 1300ms; }

.citation-node {
    cursor: pointer;
    transition: transform 200ms var(--ease-smooth);
}

.citation-node.own-publication:hover rect {
    filter: brightness(1.2);
}

/* --- Publication Overlay --- */
.publication-overlay {
    position: fixed;
    inset: 0;
    background: rgba(27, 42, 74, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 300;
    opacity: 1;
    transition: opacity 300ms var(--ease-smooth);
}

.publication-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.publication-card {
    background: var(--color-parchment);
    border: 1px solid var(--color-dusty-blue);
    padding: 40px;
    max-width: 560px;
    width: 90%;
    position: relative;
    box-shadow: 0 8px 32px rgba(27, 42, 74, 0.15);
}

.close-overlay {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-scholarly-gray);
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 200ms var(--ease-smooth);
}

.close-overlay:hover {
    color: var(--color-deep-navy);
}

.pub-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-deep-navy);
    margin-bottom: 12px;
    line-height: 1.3;
}

.pub-authors {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--color-scholarly-gray);
    margin-bottom: 16px;
    font-weight: 600;
}

.pub-abstract {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-body-text);
}

/* --- Pull Quote --- */
.pull-quote {
    margin: 2.5em 0;
    padding: 0;
    border: none;
    text-align: center;
    position: relative;
}

.pull-quote .guillemet-open,
.pull-quote .guillemet-close {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--color-thesis-gold);
    vertical-align: middle;
    line-height: 1;
}

.pull-quote {
    font-family: var(--font-display);
    font-size: 24px;
    font-style: italic;
    font-weight: 400;
    color: var(--color-deep-navy);
    line-height: 1.5;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 600ms var(--ease-smooth), transform 600ms var(--ease-smooth);
}

.pull-quote.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Section Divider --- */
.section-divider {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px 0 calc(40px + var(--nav-width));
    position: relative;
}

.section-divider hr {
    border: none;
    border-top: 1px solid var(--color-dusty-blue);
    margin: 0;
}

.divider-diamond {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--color-parchment);
    border: 1px solid var(--color-dusty-blue);
}

/* --- Reference List --- */
.reference-list {
    list-style: none;
    padding: 0;
}

.reference-entry {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    padding-left: 40px;
    text-indent: -40px;
    border-bottom: 1px solid var(--color-grid);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 400ms var(--ease-smooth), transform 400ms var(--ease-smooth), background-color 300ms var(--ease-smooth);
}

.reference-entry.visible {
    opacity: 1;
    transform: translateY(0);
}

.reference-entry.highlighted {
    background-color: var(--color-theorem-bg);
}

.ref-number {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-reference-blue);
    flex-shrink: 0;
    min-width: 32px;
}

.ref-text {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-body-text);
}

.ref-text em {
    font-style: italic;
}

/* --- Footer --- */
.site-footer {
    background: var(--color-deep-navy);
    padding: 60px 40px;
    margin-top: 80px;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-text {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--color-dusty-blue);
    letter-spacing: 0.05em;
}

.footer-sub {
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--color-scholarly-gray);
}

/* --- Responsive --- */
@media (max-width: 1100px) {
    .section-body {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .sidenote-column {
        padding-top: 20px;
    }

    .sidenote {
        padding-left: 16px;
        border-left: 3px solid var(--color-cambridge-blue);
        border-top: none;
        margin-bottom: 20px;
    }

    .figure-full-width {
        margin-right: 0;
        width: 100%;
    }

    .main-column {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    #section-nav {
        display: none;
    }

    #main-content {
        padding-left: 0;
    }

    .content-section {
        padding: 0 20px;
    }

    .section-divider {
        padding: 0 20px;
    }

    .landing-title {
        font-size: 32px;
        letter-spacing: 0.1em;
    }

    .landing-subtitle {
        font-size: 14px;
    }

    .chapter-number-watermark {
        font-size: 80px;
    }

    .pull-quote {
        font-size: 20px;
    }

    .code-block {
        padding: 12px 16px;
    }

    .code-block code {
        font-size: 12px;
    }
}
