@font-face {
    font-family: 'Fraunces';
    src: url('../fonts/Fraunces_72pt-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
:root {
    --orange: #FF6B35;
    --orange-hover: #E85A24;
    --orange-light: #FFF3EE;
    --orange-glow: rgba(255, 107, 53, 0.15);
    --text-primary: #1A1A2E;
    --text-secondary: #5A5A72;
    --text-muted: #8E8EA0;
    --bg-white: #FFFFFF;
    --bg-cream: #FAFAF8;
    --bg-light: #F5F5F3;
    --border: #E8E8E4;
    --border-light: #F0F0EC;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --max-width: 1200px;
    --font-display: 'DM Serif Display', serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    font-size: 17px;
}
.brand-name { font-family: 'Fraunces', serif; font-weight: 700; }
a { color: var(--orange); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--orange-hover); }
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    transition: box-shadow 0.3s ease;
}
nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text-primary); }
.nav-brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-brand .brand-name { font-size: 20px; }
.nav-links { display: flex; gap: 10px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 22px; border-radius: var(--radius-sm); text-decoration: none; font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1.4; transition: all 0.2s ease; cursor: pointer; border: none; white-space: nowrap; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 4px 14px var(--orange-glow); }
.btn-primary:hover { background: var(--orange-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px var(--orange-glow); }
.btn-outline { background: transparent; color: var(--text-primary); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }
.article-shell { max-width: 720px; margin: 0 auto; padding: 130px 24px 80px; }
.breadcrumb { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 28px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }
article header h1 { font-family: var(--font-display); font-size: clamp(34px, 5.5vw, 52px); line-height: 1.08; font-weight: 700; letter-spacing: -0.5px; color: var(--text-primary); margin-bottom: 20px; }
article header h1 em { color: var(--orange); font-style: italic; }
.dek { font-size: 20px; color: var(--text-secondary); line-height: 1.55; margin-bottom: 24px; }
.meta { display: flex; align-items: center; gap: 16px; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); letter-spacing: 0.5px; padding-bottom: 28px; border-bottom: 1px solid var(--border); margin-bottom: 44px; flex-wrap: wrap; }
.meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-muted); }
article section { margin-bottom: 44px; }
article p { margin-bottom: 18px; }
article h2 { font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: -0.3px; margin-top: 56px; margin-bottom: 18px; color: var(--text-primary); }
article h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.25; margin-top: 36px; margin-bottom: 12px; color: var(--text-primary); }
article ul, article ol { margin: 0 0 22px 22px; padding-left: 8px; }
article li { margin-bottom: 8px; }
article strong { color: var(--text-primary); font-weight: 600; }
article em { color: var(--text-primary); font-style: italic; }
article code { font-family: var(--font-mono); font-size: 13.5px; background: var(--bg-light); padding: 2px 6px; border-radius: 4px; color: var(--text-primary); border: 1px solid var(--border-light); }
article kbd { font-family: var(--font-mono); font-size: 13px; background: var(--bg-light); border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 5px; padding: 2px 7px; color: var(--text-primary); margin: 0 1px; }
article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; background: var(--bg-cream); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-sm); }
article table th, article table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border-light); }
article table th { background: var(--bg-light); font-weight: 600; color: var(--text-primary); font-size: 13.5px; }
article table tbody tr:last-child td { border-bottom: none; }
.related { margin-top: 80px; padding-top: 36px; border-top: 1px solid var(--border); }
.related h2 { font-size: 22px; margin-top: 0; margin-bottom: 18px; }
.related ul { list-style: none; margin: 0; padding: 0; }
.related li { padding: 14px 0; border-bottom: 1px solid var(--border-light); }
.related li:last-child { border-bottom: none; }
.related a { display: block; font-weight: 600; font-size: 16.5px; }
.related .desc { display: block; margin-top: 4px; color: var(--text-secondary); font-size: 14.5px; font-weight: 400; }
.cta-block { margin-top: 72px; padding: 36px; background: var(--bg-cream); border: 1px solid var(--border); border-radius: 14px; text-align: center; }
.cta-block h3 { margin-top: 0; margin-bottom: 10px; font-size: 22px; font-family: var(--font-display); }
.cta-block p { color: var(--text-secondary); margin-bottom: 22px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.callout { background: var(--orange-light); border-left: 3px solid var(--orange); padding: 16px 22px; border-radius: 0 10px 10px 0; margin: 24px 0; font-size: 16px; }
footer { border-top: 1px solid var(--border); padding: 32px 40px; background: var(--bg-white); }
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.footer-row { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; justify-content: center; font-size: 14px; color: var(--text-muted); }
.footer-row .brand-name { font-size: 16px; color: var(--text-primary); }
.footer-row a { color: var(--text-muted); }
.footer-row a:hover { color: var(--orange); }
.footer-links { display: flex; gap: 0; font-size: 13px; color: var(--text-muted); }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--orange); }
.footer-links .sep { margin: 0 10px; opacity: 0.4; }
.footer-copyright { font-size: 12.5px; color: var(--text-muted); }
@media (max-width: 720px) {
    .article-shell { padding: 100px 20px 60px; }
    article h2 { font-size: 26px; margin-top: 44px; }
    article h3 { font-size: 19px; }
    .nav-inner { padding: 0 20px; }
    .nav-links .btn-outline { display: none; }
    footer { padding: 28px 20px; }
}
