:root {
    --max-width: 960px;
    --text-color: #1a1a1a;
    --muted: #555;
    --link: #2c5aa0;
    --link-hover: #1d4078;
    --bg-alt: #f7f8fa;
    --border: #e2e4e8;
    --btn-bg: #1a1a1a;
    --btn-bg-hover: #333;
    --code-bg: #f4f4f6;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Noto Sans', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    line-height: 1.65;
    font-size: 17px;
    background: #fff;
}

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

a {
    color: var(--link);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

/* Hero */
.hero {
    padding: 64px 0 32px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.hero .title {
    font-family: 'Google Sans', 'Noto Sans', sans-serif;
    font-size: 2.1em;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 12px;
    color: var(--text-color);
}

.hero .subtitle {
    font-family: 'Google Sans', 'Noto Sans', sans-serif;
    font-size: 1.15em;
    font-weight: 600;
    color: #c0392b;
    margin: 0 0 28px;
}

.authors {
    font-size: 1.1em;
    margin-bottom: 6px;
}

.authors span {
    display: inline-block;
    margin: 0 8px;
}

.authors a {
    color: var(--text-color);
}

.affiliations {
    color: var(--muted);
    font-size: 1.0em;
    margin-bottom: 28px;
}

/* Buttons */
.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--btn-bg);
    color: #fff;
    border-radius: 24px;
    font-weight: 500;
    font-size: 0.95em;
    transition: background 0.15s;
}

.btn:hover {
    background: var(--btn-bg-hover);
    color: #fff;
    text-decoration: none;
}

.btn i {
    font-size: 0.95em;
}

/* Sections */
.section {
    padding: 48px 0;
}

.section--alt {
    background: var(--bg-alt);
}

.section h2 {
    font-family: 'Google Sans', sans-serif;
    font-size: 1.7em;
    margin: 0 0 20px;
    color: var(--text-color);
}

.section h3 {
    font-family: 'Google Sans', sans-serif;
    font-size: 1.25em;
    margin: 32px 0 12px;
}

.section p {
    margin: 0 0 16px;
    text-align: justify;
}

.section ul, .section ol {
    padding-left: 24px;
}

.section li {
    margin-bottom: 10px;
}

.contributions li {
    margin-bottom: 14px;
}

/* Figures */
figure {
    margin: 24px 0;
    text-align: center;
}

figure img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

figcaption {
    margin-top: 12px;
    font-size: 0.92em;
    color: var(--muted);
    text-align: center;
}

.teaser figcaption {
    text-align: left;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.placeholder {
    padding: 48px 24px;
    border: 2px dashed var(--border);
    border-radius: 6px;
    background: var(--bg-alt);
    color: var(--muted);
}

.placeholder code {
    background: var(--code-bg);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9em;
}

/* Code / BibTeX */
pre {
    background: var(--code-bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 18px 20px;
    overflow-x: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88em;
    line-height: 1.5;
}

code {
    font-family: 'JetBrains Mono', monospace;
}

/* Footer */
footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.9em;
    text-align: center;
}

footer a {
    color: var(--muted);
}

/* Mobile */
@media (max-width: 600px) {
    body { font-size: 16px; }
    .hero { padding: 40px 0 24px; }
    .hero .title { font-size: 1.55em; }
    .hero .subtitle { font-size: 1.0em; }
    .authors span { display: block; margin: 4px 0; }
    .section { padding: 32px 0; }
    .section h2 { font-size: 1.4em; }
    .btn { padding: 9px 14px; font-size: 0.9em; }
}
