
:root {
--bg: #141414;
--bg-card: #1c1c1c;
--bg-elevated: #242424;
--accent: #697565;
--accent-soft: rgba(105, 117, 101, 0.15);
--accent-border: rgba(105, 117, 101, 0.25);
--text: #ffffff;
--text-soft: rgba(255, 255, 255, 0.6);
--text-mute: rgba(255, 255, 255, 0.4);
--rule: rgba(255, 255, 255, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
background: var(--bg);
color: var(--text);
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
font-size: 16px;
line-height: 1.5;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
}

/* ======== HERO ======== */
.hero {
padding: 140px 24px 60px;
text-align: center;
position: relative;
}

.hero-glow {
position: absolute;
top: 10%;
left: 50%;
transform: translateX(-50%);
width: 500px;
height: 500px;
background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
filter: blur(60px);
pointer-events: none;
z-index: 0;
}

.hero-content {
position: relative;
z-index: 1;
max-width: 700px;
margin: 0 auto;
}

.hero-badge {
display: inline-flex;
align-items: center;
gap: 8px;
background: var(--accent-soft);
border: 1px solid var(--accent-border);
padding: 6px 14px;
border-radius: 100px;
font-size: 13px;
font-weight: 500;
color: var(--accent);
margin-bottom: 28px;
}

.hero h1 {
font-size: clamp(40px, 6vw, 72px);
font-weight: 700;
line-height: 1.05;
letter-spacing: -0.04em;
margin-bottom: 20px;
}

.hero h1 .highlight { color: var(--accent); }

.hero-sub {
font-size: clamp(16px, 1.8vw, 18px);
color: var(--text-soft);
max-width: 560px;
margin: 0 auto;
line-height: 1.5;
}

.hero-meta {
display: inline-flex;
align-items: center;
gap: 16px;
margin-top: 32px;
padding: 10px 20px;
background: var(--bg-card);
border: 1px solid var(--rule);
border-radius: 100px;
font-size: 13px;
color: var(--text-mute);
}

.hero-meta .sep { color: var(--rule); }

/* ======== CONTENT ======== */
.content {
padding: 40px 24px 80px;
max-width: 1100px;
margin: 0 auto;
}

.content-inner {
display: grid;
grid-template-columns: 220px 1fr;
gap: 60px;
align-items: start;
}

/* TOC */
.toc {
position: sticky;
top: 100px;
background: var(--bg-card);
border: 1px solid var(--rule);
border-radius: 20px;
padding: 20px;
}

.toc h4 {
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--text-mute);
margin-bottom: 14px;
font-weight: 600;
}

.toc ol {
list-style: none;
counter-reset: toc;
}

.toc li {
counter-increment: toc;
}

.toc a {
display: flex;
align-items: center;
gap: 10px;
padding: 8px 10px;
color: var(--text-soft);
text-decoration: none;
font-size: 14px;
border-radius: 10px;
transition: all 0.2s ease;
}

.toc a::before {
content: counter(toc, decimal-leading-zero);
font-size: 11px;
color: var(--accent);
font-weight: 600;
flex-shrink: 0;
font-variant-numeric: tabular-nums;
}

.toc a:hover {
background: var(--bg-elevated);
color: var(--text);
}

/* Sections */
.article section {
background: var(--bg-card);
border: 1px solid var(--rule);
border-radius: 24px;
padding: 40px;
margin-bottom: 16px;
transition: border-color 0.3s ease;
}

.article section:hover {
border-color: var(--accent-border);
}

.section-header {
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 20px;
}

.section-num {
width: 40px;
height: 40px;
background: var(--accent-soft);
border: 1px solid var(--accent-border);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
color: var(--accent);
font-weight: 700;
font-size: 14px;
font-variant-numeric: tabular-nums;
flex-shrink: 0;
}

.article h2 {
font-size: clamp(24px, 3vw, 32px);
font-weight: 700;
line-height: 1.1;
letter-spacing: -0.02em;
}

.article h2 .highlight { color: var(--accent); }

.article p {
font-size: 16px;
line-height: 1.65;
color: var(--text-soft);
margin-bottom: 14px;
}

.article p.lead {
font-size: 18px;
color: var(--text);
margin-bottom: 24px;
line-height: 1.5;
}

.article ul {
list-style: none;
margin: 16px 0 0;
}

.article ul li {
padding: 14px 0 14px 32px;
border-top: 1px solid var(--rule);
position: relative;
font-size: 15px;
line-height: 1.5;
color: var(--text-soft);
}

.article ul li:last-child {
border-bottom: 1px solid var(--rule);
}

.article ul li::before {
content: '';
position: absolute;
left: 8px;
top: 22px;
width: 6px;
height: 6px;
background: var(--accent);
border-radius: 50%;
}

.article strong {
color: var(--text);
font-weight: 600;
}

.article a {
color: var(--accent);
text-decoration: none;
border-bottom: 1px solid var(--accent-border);
transition: all 0.2s ease;
}

.article a:hover {
color: #7a8775;
border-bottom-color: var(--accent);
}

/* Highlight callout */
.callout {
background: linear-gradient(135deg, var(--accent-soft), transparent);
border: 1px solid var(--accent-border);
border-radius: 16px;
padding: 28px 32px;
margin: 24px 0 0;
display: flex;
gap: 18px;
align-items: flex-start;
}

.callout-icon {
width: 36px;
height: 36px;
background: var(--accent);
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
flex-shrink: 0;
}

.callout p {
color: var(--text) !important;
font-size: 17px !important;
font-weight: 500;
margin: 0 !important;
line-height: 1.4;
}

.callout p strong { color: var(--accent); }

/* Contact section */
.contact-card {
background: linear-gradient(135deg, var(--accent-soft), transparent) !important;
border: 1px solid var(--accent-border) !important;
}

.contact-email {
display: inline-flex;
align-items: center;
gap: 10px;
background: var(--bg);
border: 1px solid var(--rule);
border-radius: 100px;
padding: 10px 18px;
margin-top: 16px;
font-size: 15px;
font-weight: 500;
color: var(--text) !important;
text-decoration: none !important;
border-bottom: 1px solid var(--rule) !important;
transition: all 0.2s ease;
}

.contact-email:hover {
background: var(--bg-elevated);
border-color: var(--accent-border) !important;
}

.contact-email svg {
color: var(--accent);
}

/* ======== RESPONSIVE ======== */
@media (max-width: 900px) {
nav { padding: 10px 16px; top: 12px; left: 12px; right: 12px; }
.nav-brand { font-size: 16px; }
.nav-brand img { width: 28px; height: 28px; }
.nav-back { padding: 6px 14px; font-size: 13px; }
.hero { padding: 120px 20px 40px; }
.hero-meta { flex-wrap: wrap; justify-content: center; gap: 12px; }
.content { padding: 20px 20px 60px; }
.content-inner { grid-template-columns: 1fr; gap: 30px; }
.toc { position: static; }
.article section { padding: 28px 24px; border-radius: 20px; }
.section-header { gap: 12px; margin-bottom: 16px; }
.section-num { width: 36px; height: 36px; font-size: 13px; }
.callout { padding: 20px 22px; flex-direction: column; gap: 14px; }
.footer-inner { grid-template-columns: 1fr; gap: 40px; }
.footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}