/* Two Clocks: SCSC Q2 2026 — screen HTML theme (dark, matches VCRI landing page) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg-primary: #0a0f1a;
    --bg-secondary: #111827;
    --bg-card: #1a2235;
    --text-primary: #f0f4f8;
    --text-secondary: #cdd6e0;
    --text-muted: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-blue-light: #60a5fa;
    --accent-gold: #f59e0b;
    --accent-gold-light: #fbbf24;
    --border-subtle: rgba(148, 163, 184, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.75;
    margin: 0;
    padding: 4rem 2rem;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}
h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 3rem 0 1rem;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}
h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: var(--accent-blue-light);
}
h4, h5, h6 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
    color: var(--text-primary);
}

p { margin: 0 0 1.2rem; color: var(--text-secondary); }
strong { color: var(--text-primary); font-weight: 600; }
em { color: var(--text-primary); font-style: italic; }

a { color: var(--accent-blue-light); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--accent-gold-light); }

code {
    font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
    background: rgba(96, 165, 250, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--accent-blue-light);
}
pre {
    background: var(--bg-card);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid var(--border-subtle);
}
pre code { background: transparent; padding: 0; color: var(--text-primary); }

blockquote {
    border-left: 3px solid var(--accent-blue);
    margin: 1.5rem 0;
    padding: 0.5rem 1.25rem;
    background: var(--bg-card);
    border-radius: 0 8px 8px 0;
    color: var(--text-secondary);
    font-style: italic;
}
blockquote p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.25rem 1.5rem; padding: 0; color: var(--text-secondary); }
li { margin-bottom: 0.5rem; }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}
th, td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}
th {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
    border-bottom: 2px solid var(--accent-blue);
}
td { color: var(--text-secondary); }
tbody tr:hover { background: rgba(96, 165, 250, 0.04); }

hr {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 3rem 0;
}

img, figure {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
    border-radius: 8px;
}

.footnote {
    font-size: 0.875rem;
    color: var(--text-muted);
}
.footnotes {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.9rem;
}
.footnotes ol { color: var(--text-muted); }

/* table of contents */
#TOC {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin: 2rem 0 3rem;
}
#TOC > ul { margin-left: 1rem; }
#TOC ul { list-style: none; padding-left: 1rem; margin-left: 0; }
#TOC li { margin-bottom: 0.3rem; }
#TOC a { text-decoration: none; color: var(--text-secondary); font-size: 0.95rem; }
#TOC a:hover { color: var(--accent-blue-light); }

/* meta line under title (date / authors) */
.subtitle, p:first-of-type em { color: var(--text-muted); }

/* Animation callout: visible on screen, hidden in print */
.screen-only { display: block; }
.print-only { display: none; }

/* Print media: flip — show the QR/URL fallback, hide the animated GIFs */
@media print {
    .screen-only { display: none !important; }
    .print-only { display: block !important; }
}
.animation-callout {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--accent-blue);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
}
.animation-callout h3 {
    color: var(--accent-blue-light);
    margin-top: 0;
}
.animation-callout img {
    width: 100%;
    max-width: 1100px;
    margin: 1.25rem auto;
    border-radius: 8px;
    display: block;
}
.animation-callout p strong { color: var(--text-primary); }
