:root {
  --ink: #1d2027;
  --muted: #6c717d;
  --paper: #f5f6f7;
  --card: #ffffff;
  --yellow: #ffdd2d;
  --yellow-hover: #f5cf00;
  --line: #e7e8ea;
  --blue: #126df7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.blog-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.blog-header {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.blog-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; text-decoration: none; }
.blog-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: var(--yellow); }
.blog-nav { display: flex; align-items: center; gap: 26px; }
.blog-nav a { color: var(--muted); font-size: 15px; font-weight: 600; text-decoration: none; }
.blog-nav a:hover { color: var(--ink); }
.blog-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; border-radius: 14px; background: var(--yellow); font-weight: 750; text-decoration: none; }
.blog-button:hover { background: var(--yellow-hover); }
.blog-hero { padding: 76px 0 56px; }
.blog-eyebrow { margin: 0 0 18px; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.blog-hero h1 { max-width: 860px; margin: 0; font-size: clamp(44px, 7vw, 82px); line-height: .98; letter-spacing: -.055em; }
.blog-hero p { max-width: 700px; margin: 26px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 14px 0 90px; }
.post-card { display: flex; min-height: 320px; flex-direction: column; justify-content: space-between; padding: 30px; border: 1px solid var(--line); border-radius: 28px; background: var(--card); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 46px rgba(29, 32, 39, .09); }
.post-card time { color: var(--muted); font-size: 14px; }
.post-card h2 { margin: 22px 0 14px; font-size: 28px; line-height: 1.12; letter-spacing: -.035em; }
.post-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.post-card span { margin-top: 28px; color: var(--blue); font-weight: 750; }
.blog-empty { grid-column: 1 / -1; padding: 64px; border-radius: 30px; background: var(--card); text-align: center; }
.blog-empty h2 { margin: 0 0 12px; font-size: 34px; }
.blog-empty p { margin: 0; color: var(--muted); }
.article-wrap { width: min(800px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 100px; }
.article-back { display: inline-flex; margin-bottom: 46px; color: var(--blue); font-weight: 700; text-decoration: none; }
.article-header time { color: var(--muted); font-size: 15px; }
.article-header h1 { margin: 18px 0 24px; font-size: clamp(40px, 6vw, 68px); line-height: 1.03; letter-spacing: -.05em; }
.article-lead { margin: 0; color: var(--muted); font-size: 22px; line-height: 1.55; }
.article-content { margin-top: 50px; font-size: 18px; line-height: 1.75; }
.article-content h2 { margin: 52px 0 16px; font-size: 34px; line-height: 1.15; letter-spacing: -.035em; }
.article-content h3 { margin: 38px 0 12px; font-size: 25px; }
.article-content p, .article-content ul, .article-content ol { margin: 0 0 22px; }
.article-content a { color: var(--blue); }
.article-content blockquote { margin: 30px 0; padding: 24px 28px; border-left: 5px solid var(--yellow); border-radius: 0 18px 18px 0; background: #fff; }
.article-cta { margin-top: 64px; padding: 34px; border-radius: 26px; background: var(--yellow); }
.article-cta h2 { margin: 0 0 12px; }
.article-cta p { margin: 0 0 22px; }
.article-cta .blog-button { background: var(--ink); color: #fff; }
.blog-footer { padding: 34px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

@media (max-width: 820px) {
  .blog-nav a:not(.blog-button) { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-hero { padding-top: 48px; }
}

@media (max-width: 520px) {
  .blog-shell, .article-wrap { width: min(100% - 28px, 1180px); }
  .blog-header { min-height: 72px; }
  .blog-brand { font-size: 19px; }
  .blog-button { min-height: 44px; padding: 0 16px; }
  .blog-hero h1 { font-size: 44px; }
  .post-card { min-height: 280px; padding: 24px; }
  .blog-empty { padding: 42px 22px; }
}
