:root{
  --bg: #f5f5f7;
  --card: rgba(255,255,255,0.75);
  --text: #1d1d1f;
  --muted: rgba(29,29,31,0.68);
  --border: rgba(0,0,0,0.08);
  --shadow: 0 18px 60px rgba(0,0,0,0.08);
  --radius: 22px;
  --link: rgba(0,122,255,0.98);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(1200px 520px at 50% -120px, rgba(0,122,255,.12), transparent 60%),
    radial-gradient(920px 380px at 12% -40px, rgba(175,82,222,.12), transparent 55%),
    radial-gradient(980px 420px at 90% 40px, rgba(52,199,89,.10), transparent 55%),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a{ color:inherit; text-decoration:none; }
.container{ width:min(1040px, calc(100% - 40px)); margin:0 auto; padding: 36px 0 72px; }

.nav{
  position: sticky; top:0;
  backdrop-filter: blur(18px);
  background: rgba(245,245,247,0.72);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.nav-inner{
  width:min(1040px,calc(100% - 40px));
  margin:0 auto;
  padding:14px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight: 650; letter-spacing: .2px;
}
.logo-dot{
  width:10px; height:10px; border-radius:50%;
  background: linear-gradient(135deg, rgba(0,122,255,.9), rgba(175,82,222,.9));
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
.links a{ margin-left: 16px; color: var(--muted); font-size:14px; }
.links a:hover{ color: var(--text); }

.hero{ padding: 34px 0 22px; display:grid; grid-template-columns: 1.35fr .65fr; gap:18px; align-items:stretch; }
.eyebrow{ color: var(--muted); font-size: 12px; letter-spacing:.18em; text-transform: uppercase; margin:0 0 10px; }
.headline{ font-size: clamp(34px, 4.4vw, 60px); line-height: 1.03; margin: 0 0 12px; letter-spacing: -0.02em; }
.subhead{ color: var(--muted); font-size: 18px; line-height: 1.6; margin:0; max-width: 52ch; }

.cta-row{ margin-top:18px; display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:40px; padding:0 14px; border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.72);
  box-shadow:0 12px 30px rgba(0,0,0,.08);
  font-size:14px; color:var(--text);
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
  user-select:none;
}
.btn:hover{ transform:translateY(-2px); background:rgba(255,255,255,.9); box-shadow:0 18px 44px rgba(0,0,0,.10); }
.btn.primary{
  border:0;
  background: linear-gradient(135deg, rgba(0,122,255,.92), rgba(88,86,214,.92));
  color:white;
  box-shadow: 0 18px 48px rgba(0,122,255,.22);
}
.btn.primary:hover{ box-shadow: 0 24px 64px rgba(0,122,255,.26); }

.hint{ margin-top:10px; color: var(--muted); font-size: 12px; }

.panel{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 18px;
}

.stat{
  margin-top:14px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.chip{
  border:1px solid var(--border);
  background: rgba(255,255,255,.55);
  border-radius: 18px;
  padding: 10px 12px;
}
.chip b{ display:block; font-size:14px; }
.chip span{ display:block; margin-top:4px; color: var(--muted); font-size: 12px; }

.section{ margin-top: 22px; }
.section-title{
  display:flex; justify-content:space-between; align-items:baseline; gap:16px;
  border-top:1px solid var(--border); padding-top: 18px;
}
.section-title h2{ margin:0; font-size: 18px; }
.section-title p{ margin:0; color: var(--muted); font-size: 14px; }

.grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.card{
  grid-column: span 6;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.card:hover{ transform: translateY(-3px); background: rgba(255,255,255,0.90); box-shadow: 0 26px 70px rgba(0,0,0,0.10); }
.card-top{ display:flex; justify-content:space-between; gap:12px; align-items:baseline; }
.card h3{ margin:0; font-size: 18px; letter-spacing: -0.01em; }
.card time{ color: var(--muted); font-size: 13px; white-space: nowrap; }
.desc{ margin:10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.tags{ margin-top: 12px; display:flex; flex-wrap:wrap; gap:8px; }
.tag{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.55);
  color: var(--muted);
}

.article{ padding: 18px 0; }
.back{ color: var(--muted); display:inline-block; margin-bottom: 14px; }
.back:hover{ color: var(--text); }
.article-title{ margin: 6px 0 10px; font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -0.02em; }
.article-meta{ color: var(--muted); font-size: 14px; display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.dot{ opacity:.6; }

.prose{
  margin-top: 22px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  line-height: 1.85;
  font-size: 16px;
}
.prose a{ color: var(--link); }
.prose a:hover{ text-decoration: underline; }
.prose h1,.prose h2,.prose h3{ letter-spacing: -0.01em; }
.prose h2{ margin-top: 1.6em; }
.prose p{ margin: 1em 0; }
.prose ul, .prose ol{ padding-left: 1.25em; }
.prose blockquote{
  margin: 1.25em 0;
  padding: 12px 14px;
  border-left: 3px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.03);
  border-radius: 14px;
  color: var(--muted);
}
.prose pre{
  padding: 14px;
  border-radius: 16px;
  overflow:auto;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.04);
}
.prose code{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace; }

.footer{
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 22px 0;
  text-align:center;
  font-size: 13px;
  margin-top: 46px;
}

@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
  .card{ grid-column: span 12; }
}
