/* Theme E — Publication */
* { box-sizing: border-box; }
:root {
  --bg: #fffaf0;
  --card: #ffffff;
  --ink: #1a1611;
  --muted: #6b6258;
  --accent: #ffb703;
  --accent2: #fb8500;
  --line: #ede5d6;
}
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
}
.wrap { max-width: 740px; margin: 0 auto; padding: 0 24px; }
.topbar { padding: 20px 0; background: var(--card); border-bottom: 3px solid var(--ink); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 900; font-size: 22px; color: var(--ink); text-decoration: none;
  text-transform: lowercase; letter-spacing: -1px;
}
.logo:before { content: ''; width: 14px; height: 14px; background: var(--accent); border-radius: 50%; display: inline-block; }
nav a { color: var(--ink); text-decoration: none; margin-left: 20px; font-size: 14px; font-weight: 600; }
nav a:hover { color: var(--accent); }
main { padding: 48px 0 80px; }
article h1 { font-weight: 900; font-size: 42px; line-height: 1.1; margin: 0 0 16px; letter-spacing: -1.5px; }
article h1 em { color: var(--accent); font-style: normal; }
article h2 { font-size: 27px; margin-top: 44px; margin-bottom: 14px; font-weight: 800; letter-spacing: -0.5px; }
article h3 { font-size: 20px; margin-top: 28px; font-weight: 700; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; font-weight: 500; }
.lead { font-size: 22px; line-height: 1.45; color: #333; margin: 0 0 30px; font-weight: 500; }
article p { margin: 16px 0; }
article a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
article ul, article ol { padding-left: 22px; }
article li { margin: 8px 0; }
.cta { background: var(--ink); color: #fff; border-radius: 16px; padding: 26px 30px; margin: 36px 0; }
.cta h3 { margin-top: 0; color: #fff; font-size: 22px; }
.cta a { color: #fff; }
code { background: #f0ebd8; padding: 2px 6px; border-radius: 4px; font-size: 14px; }
