:root {
  --bg: #f8f9fb;
  --fg: #0f172a;
  --muted: #5f6b85;
  --card: #ffffff;
  --border: #e5e7eb;
  --accent: #2563eb;
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.article-page { background: #ffffff; }
.shell { width: min(1100px, 92vw); margin: 0 auto; }
.hero { background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 60%, #ffffff 100%); padding: 72px 0 48px; }
.brand { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: center; }
.logo {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--fg); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 24px;
}
h1 { font-size: clamp(28px, 3vw, 36px); line-height: 1.2; }
.lede { color: var(--muted); margin-top: 12px; max-width: 720px; }
.actions { display: flex; gap: 12px; margin-top: 18px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 999px; font-weight: 600;
  border: 1px solid transparent; text-decoration: none; color: inherit;
  transition: transform 120ms ease, box-shadow 120ms ease, border 120ms ease;
}
.btn.primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn.ghost { border-color: var(--border); color: var(--fg); background: #fff; }
.btn:hover { transform: translateY(-1px); }

.section { padding: 48px 0 8px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; color: var(--muted); font-weight: 700; }
.link { color: var(--accent); text-decoration: none; font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
  display: grid; gap: 8px;
}
.card h3 { font-size: 20px; line-height: 1.3; }
.meta { color: var(--muted); font-size: 13px; }
.tag {
  display: inline-flex; align-items: center; padding: 6px 10px;
  border-radius: 999px; background: #eef2ff; color: #1d4ed8;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.excerpt { color: var(--muted); }
.read { font-weight: 700; color: var(--accent); text-decoration: none; margin-top: 6px; }

.about { margin-top: 12px; }
.about-content { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 28px; align-items: start; }
.pillars { display: grid; gap: 12px; }
.pill {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; box-shadow: var(--shadow);
}
.pill-title { font-weight: 700; margin-bottom: 6px; }

.cta { padding: 32px 0 64px; }
.cta-box {
  background: var(--fg); color: #fff; border-radius: 18px;
  padding: 28px; display: grid; gap: 10px;
  box-shadow: var(--shadow);
}
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input {
  flex: 1 1 220px; padding: 12px 14px; border-radius: 12px; border: none; outline: none;
}
.inline-form button {
  padding: 12px 16px; border-radius: 12px; border: none; font-weight: 700;
  background: #fff; color: var(--fg); cursor: pointer;
}
.inline-form button:hover { transform: translateY(-1px); }

.article-hero {
  padding: 36px 0 14px;
  background: linear-gradient(135deg, #eef2ff 0%, #ffffff 80%);
}
.crumb {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); text-decoration: none; font-weight: 600;
}
.crumb:hover { color: var(--fg); }
.article-meta-top { display: flex; gap: 10px; align-items: center; margin: 14px 0 6px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; padding: 6px 12px;
  border-radius: 999px; background: #eef2ff; color: #1d4ed8;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.article-meta { color: var(--muted); font-size: 14px; }
.article-title { font-size: clamp(30px, 4vw, 42px); line-height: 1.2; margin: 6px 0 10px; }
.article-subtitle { color: var(--muted); max-width: 760px; }
.article-hero-image {
  margin: 24px 0 4px;
  width: 100%; aspect-ratio: 16 / 7;
  border-radius: 18px;
  background: radial-gradient(circle at 20% 20%, #dbeafe 0, #eff6ff 30%, #e5e7eb 80%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(240px, 1fr);
  gap: 26px;
  padding: 28px 0 40px;
}
.article-body {
  background: #fff;
  padding: 10px 0;
  display: grid;
  gap: 18px;
  color: #0b1224;
}
.article-body h2 { margin-top: 12px; font-size: 22px; }
.article-body h3 { margin-top: 10px; font-size: 18px; }
.article-body p { color: #1f2937; }
.article-body ul, .article-body ol { margin-left: 18px; display: grid; gap: 6px; }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 12px; color: #0f172a; font-weight: 600;
}
.article-body code {
  background: #f3f4f6;
  padding: 2px 6px; border-radius: 6px; font-family: 'Inter', monospace;
}

.article-aside { display: grid; gap: 14px; align-self: start; }
.aside-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: grid; gap: 6px;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 26px 0 32px; background: #fff; color: var(--fg);
}
.footer-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: start; }
.footer-links { display: grid; gap: 6px; }
.footnote { color: var(--muted); font-size: 14px; }

@media (max-width: 720px) {
  .brand { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .article-shell { grid-template-columns: 1fr; }
  .article-hero { padding-top: 28px; }
}

