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

:root {
    --bg: #f7f5f3;
    --bg-warm: #f0ebe6;
    --accent: #c45d1a;
    --accent-soft: rgba(196, 93, 26, 0.08);
    --text: #2d2a26;
    --text-soft: #6b6560;
    --border: #e5e0da;
}

[data-theme="dark"] {
    --bg: #1a1917;
    --bg-warm: #232220;
    --accent: #e07a3a;
    --accent-soft: rgba(224, 122, 58, 0.1);
    --text: #e8e4df;
    --text-soft: #9a9590;
    --border: #3a3835;
}

[data-theme="green"] {
    --bg: #e8f5e4;
    --bg-warm: #dcefd6;
    --accent: #4a8c3f;
    --accent-soft: rgba(74, 140, 63, 0.1);
    --text: #2a3d26;
    --text-soft: #5a7a52;
    --border: #c4ddb8;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    transition: background 0.3s, color 0.3s;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Newsreader:opsz,wght@6..72,300;6..72,400;6..72,500&display=swap');

nav {
    padding: 2rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg);
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, background 0.3s;
}

nav.scrolled { border-bottom-color: var(--border); }

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Newsreader', serif;
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text);
    text-decoration: none;
}

.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
    color: var(--text-soft);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.theme-toggle { display: flex; gap: 0.5rem; }
.theme-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform 0.2s;
    padding: 0;
}
.theme-btn:hover { transform: scale(1.1); }
.theme-btn.light { background: #f7f5f3; }
.theme-btn.dark { background: #1a1917; }
.theme-btn.green { background: #7bc96f; }

article {
    max-width: 720px;
    margin: 0 auto;
    padding: 10rem 3rem 6rem;
}

.essay-kind {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
}

article h1 {
    font-family: 'Newsreader', serif;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin-bottom: 1.5rem;
    color: var(--text);
}

article .subtitle {
    font-family: 'Newsreader', serif;
    font-style: italic;
    font-size: 1.35rem;
    color: var(--text-soft);
    line-height: 1.45;
    margin-bottom: 3rem;
    font-weight: 300;
}

article .meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-soft);
    letter-spacing: 0.02em;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}
article .meta span {
    margin: 0 0.6rem;
    opacity: 0.5;
}

article p {
    font-family: 'Newsreader', serif;
    font-size: 1.2rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
    color: var(--text);
    font-weight: 400;
}

article p.drop-cap::first-letter {
    font-family: 'Newsreader', serif;
    font-size: 4.5rem;
    font-weight: 400;
    float: left;
    line-height: 0.9;
    margin: 0.15em 0.12em 0 0;
    color: var(--accent);
}

article h2 {
    font-family: 'Newsreader', serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin: 3.5rem 0 1.5rem;
    line-height: 1.25;
    color: var(--text);
    letter-spacing: -0.01em;
}

article blockquote {
    border-left: 2px solid var(--accent);
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin: 2.5rem 0;
    font-style: italic;
    color: var(--text-soft);
    font-size: 1.25rem;
    line-height: 1.55;
    font-family: 'Newsreader', serif;
}

article em { font-style: italic; }
article strong { font-weight: 500; color: var(--text); }

article hr {
    border: none;
    text-align: center;
    margin: 3rem 0;
    height: 1rem;
    position: relative;
}
article hr::after {
    content: "· · ·";
    letter-spacing: 0.4em;
    color: var(--accent);
    opacity: 0.6;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.back-to-home {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-soft);
    text-decoration: none;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: block;
    transition: color 0.2s;
}
.back-to-home:hover { color: var(--accent); }

.callout {
    background: var(--bg-warm);
    border-left: 2px solid var(--accent);
    padding: 1.5rem 1.75rem;
    margin: 2.5rem 0;
    font-family: 'Newsreader', serif;
    font-style: italic;
    color: var(--text);
    font-size: 1.15rem;
    line-height: 1.65;
}
.callout strong {
    font-style: normal;
    color: var(--text);
    font-weight: 500;
}

.verdict {
    background: var(--bg-warm);
    padding: 2.5rem;
    margin: 3rem 0;
    position: relative;
    border-left: 2px solid var(--accent);
}
.verdict::before {
    content: 'VERDICT';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--accent);
    opacity: 0.7;
}
.verdict p {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.65;
}
.verdict p:last-child { margin-bottom: 0; }
.verdict strong {
    color: var(--accent);
    font-weight: 500;
}

footer {
    padding: 4rem 3rem;
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-brand { color: var(--text-soft); font-size: 0.9rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
    color: var(--text-soft);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

@media (max-width: 700px) {
    article { padding: 8rem 1.5rem 4rem; }
    .nav-inner { padding: 0 1.5rem; }
    .nav-links { display: none; }
    article h1 { font-size: 2.1rem; }
    article .subtitle { font-size: 1.1rem; }
    article p { font-size: 1.1rem; line-height: 1.7; }
    article h2 { font-size: 1.5rem; }
    article blockquote { font-size: 1.1rem; padding-left: 1rem; }
    .callout { padding: 1.25rem; font-size: 1.05rem; }
    .verdict { padding: 1.75rem; }
    footer { padding: 3rem 1.5rem; }
}
