:root {
  --bg: #fdfbf8;
  --card: #ffffff;
  --text: #302a25;
  --muted: #766b62;
  --accent: #b28d6f;
  --accent-dark: #745b48;
  --line: #eadfd2;
  --soft: #f6efe6;
  --shadow: 0 18px 55px rgba(88, 67, 50, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, #fff 0, var(--bg) 42%, #faf6f0 100%);
  color: var(--text);
  font-family: Inter, Arial, "Noto Sans", sans-serif;
  line-height: 1.68;
}
a { color: var(--accent-dark); }
.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(780px, calc(100% - 32px)); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(234, 223, 210, 0.82);
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(12px);
}
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header-inner { min-height: 68px; }
.brand { color: var(--text); font-size: 15px; font-weight: 850; letter-spacing: 0.02em; text-decoration: none; }
.header-nav { display: flex; align-items: center; gap: 18px; }
.header-nav a { font-weight: 750; text-decoration: none; }
.header-link {
  display: inline-flex;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 15px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.blog-hero { padding: 72px 0 42px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 13px; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.18; }
h1 { margin: 0; font-size: clamp(42px, 7vw, 66px); letter-spacing: -0.035em; }
.lead { max-width: 680px; margin: 18px 0 0; color: var(--muted); font-size: clamp(18px, 2.5vw, 22px); }
.articles-section { padding: 12px 0 78px; }
.article-list { display: grid; gap: 18px; }
.article-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 32px);
  background: var(--card);
  box-shadow: 0 8px 28px rgba(72, 48, 42, 0.05);
}
.article-card time, .article-date { color: var(--muted); font-size: 14px; }
.article-card h2 { margin: 8px 0 10px; font-size: clamp(25px, 4vw, 34px); }
.article-card h2 a { color: var(--text); text-decoration: none; }
.article-card p { margin: 0 0 14px; color: var(--muted); }
.read-more, .back-link { font-weight: 850; text-decoration: none; }
.article { padding-top: 50px; padding-bottom: 80px; }
.back-link { display: inline-block; margin-bottom: 22px; }
.article-date { display: block; margin-bottom: 8px; }
.article-content h1 { margin: 0 0 26px; }
.article-content h2 { margin: 44px 0 14px; font-size: clamp(28px, 4vw, 38px); }
.article-content h3 { margin: 30px 0 10px; font-size: clamp(22px, 3vw, 28px); }
.article-content p { margin: 0 0 19px; font-size: 18px; }
.article-content ul, .article-content ol { margin: 0 0 22px; padding-inline-start: 26px; }
.article-content li { margin: 7px 0; font-size: 17px; }
.article-content blockquote { margin: 24px 0; border-inline-start: 4px solid var(--accent); padding: 4px 0 4px 20px; color: var(--muted); }
.article-content pre { overflow-x: auto; border-radius: 14px; padding: 18px; background: #292521; color: #fff; }
.article-content code { border-radius: 5px; padding: 2px 5px; background: var(--soft); }
.article-content pre code { padding: 0; background: transparent; }
.article-cta { margin-top: 52px; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 5vw, 36px); background: var(--soft); }
.article-cta h2 { margin: 0 0 10px; font-size: 30px; }
.article-cta p { margin: 0 0 18px; color: var(--muted); }
.article-cta a { display: inline-flex; border-radius: 13px; padding: 12px 18px; background: var(--accent); color: #fff; font-weight: 850; text-decoration: none; }
.site-footer { padding: 28px 0 96px; color: var(--muted); font-size: 14px; }
.footer-inner { border-top: 1px solid var(--line); padding-top: 22px; }
.floating { position: fixed; right: 18px; bottom: 18px; z-index: 30; border-radius: 999px; padding: 13px 18px; background: #25d366; color: #fff; font-weight: 850; text-decoration: none; box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18); }
.empty-state { border: 1px solid var(--line); border-radius: 18px; padding: 24px; background: var(--card); color: var(--muted); }

@media (max-width: 620px) {
  .shell, .narrow { width: min(100% - 22px, 780px); }
  .header-inner { min-height: 62px; }
  .brand { max-width: 190px; font-size: 13px; line-height: 1.2; }
  .header-nav > a:first-child { display: none; }
  .blog-hero { padding-top: 48px; }
  .article { padding-top: 34px; }
  .article-content p { font-size: 17px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .floating { right: 12px; bottom: 12px; left: 12px; justify-content: center; text-align: center; }
}
