:root{
  --bg: #f7f7f5;
  --surface: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: rgba(17,24,39,.10);
  --shadow: 0 10px 35px rgba(17,24,39,.08);
  --accent: #2563eb;
  --accent2:#0ea5e9;
  --ring: rgba(37,99,235,.25);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1100px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(37,99,235,.12), transparent 60%),
    radial-gradient(900px 600px at 90% 0%, rgba(14,165,233,.12), transparent 55%),
    var(--bg);
  line-height:1.6;
}
a{color:var(--accent); text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}
header.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(180%) blur(10px);
  background: rgba(247,247,245,.72);
  border-bottom:1px solid var(--border);
}
.navbar{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:12px;
}
.brand img{width:34px; height:34px}
.brand .name{font-weight:800; letter-spacing:-.02em}
.brand .tag{font-size:12px; color:var(--muted); margin-top:-2px}
\.nav-links{
  display:flex; gap:14px; align-items:center;
  flex:1;
  justify-content:center;
}
.nav-links a{
  font-weight:600; color:var(--text);
  padding:9px 12px; border-radius:999px;
}
.nav-links a:hover{
  background: rgba(17,24,39,.06);
  text-decoration:none;
}
.nav-cta{
  display:flex; gap:10px; align-items:center;
}
.button{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:999px; font-weight:700;
  border:1px solid var(--border);
  background:var(--surface);
  box-shadow: 0 1px 0 rgba(17,24,39,.04);
}
.button.primary{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:white; border-color: transparent;
}
.button.primary:hover{filter:brightness(1.02); text-decoration:none}
.button:hover{text-decoration:none}
.hamburger{
  display:none;
  width:44px; height:44px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--surface);
}
.hamburger span{
  display:block; width:18px; height:2px; background:var(--text);
  margin:4px auto;
}
.mobile-drawer{
  display:none;
  padding:16px 0 22px;
}
.mobile-drawer .panel{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:10px;
}
.mobile-drawer a{
  display:flex; padding:12px 12px; border-radius:12px;
  font-weight:700; color:var(--text);
}
.mobile-drawer a:hover{background: rgba(17,24,39,.06); text-decoration:none}
.hero{
  padding:52px 0 18px;
}
.hero-grid{
  display:grid; grid-template-columns: 1.1fr .9fr; gap:22px;
  align-items:stretch;
}
.hero-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow:var(--shadow);
  padding:26px;
}
.kicker{
  display:inline-flex; gap:10px; align-items:center;
  font-weight:800; font-size:13px;
  padding:6px 10px; border-radius:999px;
  background: rgba(37,99,235,.10);
  border:1px solid rgba(37,99,235,.18);
}
h1{font-size:44px; line-height:1.1; letter-spacing:-.03em; margin:14px 0 10px}
.lead{color:var(--muted); font-size:18px; margin:0 0 18px}
.hero-actions{display:flex; gap:10px; flex-wrap:wrap}
.card-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap:16px;
}
.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow: 0 8px 26px rgba(17,24,39,.06);
  padding:16px;
}
.card h3{margin:0 0 6px; font-size:17px; letter-spacing:-.01em}
.card p{margin:0; color:var(--muted); font-size:14px}
.section{padding:22px 0}
.section h2{font-size:22px; margin:0 0 12px; letter-spacing:-.02em}
.featured-grid{
  display:grid; grid-template-columns: repeat(4,1fr); gap:14px;
}
.post-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.post-card:hover{transform: translateY(-1px); box-shadow: 0 14px 40px rgba(17,24,39,.10); text-decoration:none}
.post-card .meta{font-size:12px; color:var(--muted); margin-bottom:6px}
.post-card .title{font-weight:800; color:var(--text); letter-spacing:-.01em}
.post-card .excerpt{margin-top:8px; color:var(--muted); font-size:13px}
.chart{
  background: linear-gradient(180deg, rgba(37,99,235,.06), rgba(14,165,233,.03));
  border:1px solid rgba(37,99,235,.18);
  border-radius:var(--radius);
  padding:16px;
  overflow:hidden;
}
.chart svg{width:100%; height:auto; display:block}
main.article{
  padding:34px 0 30px;
}
.article-wrap{
  display:grid; grid-template-columns: 1fr 320px; gap:22px;
}
.article-card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow:var(--shadow);
  padding:26px;
}
.article-title{margin:0 0 6px; font-size:34px; letter-spacing:-.03em}
.article-meta{color:var(--muted); font-size:13px; margin-bottom:18px}
.article-card h2{margin-top:26px}
.article-card p{margin:12px 0}
.article-card ul, .article-card ol{padding-left:20px}
.article-card li{margin:8px 0}
.article-card code{font-family:var(--mono); background:rgba(17,24,39,.06); padding:2px 6px; border-radius:8px}
.article-card blockquote{
  border-left:3px solid rgba(37,99,235,.35);
  padding:8px 14px;
  background: rgba(37,99,235,.06);
  border-radius: 12px;
  margin:16px 0;
}
.sidebar{
  position:sticky; top:96px; align-self:start;
}
.sidebar .box{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow: 0 12px 35px rgba(17,24,39,.08);
  padding:14px;
}
.input{
  width:100%;
  padding:11px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  outline:none;
  font-size:14px;
  background: rgba(255,255,255,.85);
}
.input:focus{box-shadow:0 0 0 4px var(--ring); border-color: rgba(37,99,235,.35)}
.sidebar .small{color:var(--muted); font-size:13px}
.list{display:flex; flex-direction:column; gap:8px; margin-top:10px}
.list a{
  display:block; padding:10px 10px;
  border-radius:12px; border:1px solid var(--border);
  background: rgba(17,24,39,.02);
  color:var(--text); font-weight:700; font-size:14px;
}
.list a:hover{background: rgba(17,24,39,.05); text-decoration:none}
footer{
  margin-top:30px;
  border-top:1px solid var(--border);
  padding:22px 0;
  color:var(--muted);
}
.footer-grid{display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap}
.footer-links{display:flex; gap:14px; flex-wrap:wrap}
.footer-links a{color:var(--muted); font-weight:700}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; color:var(--muted);
  padding:6px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  background: rgba(255,255,255,.70);
}
.cookie-banner{
  position:fixed; left:16px; right:16px; bottom:16px;
  z-index:200;
  display:none;
}
.cookie-banner .inner{
  max-width: var(--max);
  margin:0 auto;
  background: rgba(255,255,255,.92);
  border:1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 18px 55px rgba(17,24,39,.16);
  padding:14px 14px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  backdrop-filter: blur(10px);
}
.cookie-banner p{margin:0; color:var(--muted); font-size:13px}
.cookie-banner .actions{display:flex; gap:10px; flex-wrap:wrap}
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .featured-grid{grid-template-columns: repeat(2,1fr)}
  .card-grid{grid-template-columns:1fr}
  .article-wrap{grid-template-columns:1fr}
  .sidebar{position:relative; top:auto}
}
@media (max-width: 820px){
  .nav-links, .nav-cta{display:none}
  .hamburger{display:inline-flex; align-items:center; justify-content:center}
  .mobile-drawer{display:block}
  h1{font-size:38px}
}