:root{
  --bg:#0B1220;
  --text:#ECF1F9;
  --muted:#9AA8C7;
  --primary:#0B5FFF;
  --primary-2:#6D3AF2;
  --card:#12192A;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:"Inter","Noto Sans SC",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif}
.container{max-width:1080px;margin:0 auto;padding:0 20px}
.site-header{position:sticky;top:0;background:rgba(11,18,32,0.8);backdrop-filter:saturate(120%) blur(8px);border-bottom:1px solid rgba(154,168,199,0.15)}
.nav{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{font-weight:700;letter-spacing:.5px}
.nav a{color:var(--muted);text-decoration:none;margin-left:16px}
.nav a:hover{color:var(--text)}
.nav a.active{color:var(--text);font-weight:700}
.hero{background:linear-gradient(135deg,rgba(11,95,255,.15),rgba(109,58,242,.15));padding:72px 0 56px;border-bottom:1px solid rgba(154,168,199,0.15)}
.hero-content{max-width:820px}
/* Hero grid and media for homepage */
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:28px;align-items:center}
.kicker{color:var(--muted);font-size:13px;letter-spacing:.8px;text-transform:uppercase;margin-bottom:8px}
.stats{margin-top:18px}
.pill{display:inline-block;padding:8px 12px;border-radius:999px;border:1px solid rgba(154,168,199,0.25);color:var(--muted);margin-right:10px;background:rgba(18,25,42,.6)}
.hero-media img{width:100%;height:auto;border-radius:16px;border:1px solid rgba(154,168,199,0.18);box-shadow:0 20px 50px rgba(0,0,0,.35)}
h1{font-size:40px;line-height:1.2;margin:0 0 12px}
.sub{color:var(--muted);font-size:18px;line-height:1.6}
.cta{margin-top:20px}
.btn{display:inline-block;padding:12px 18px;border-radius:10px;text-decoration:none;margin-right:12px;font-weight:600}
.btn.primary{background:linear-gradient(135deg,var(--primary),var(--primary-2));color:white}
.btn.secondary{border:1px solid rgba(154,168,199,0.25);color:var(--text)}
.features{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:36px 0}
.feature{background:var(--card);border:1px solid rgba(154,168,199,0.15);border-radius:14px;padding:18px}
.feature h3{margin:0 0 6px}
.feature p{color:var(--muted);margin:0}
.section{padding:36px 0}
.list{color:var(--muted)}
/* Audience cards */
.audience-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{background:var(--card);border:1px solid rgba(154,168,199,0.15);border-radius:14px;padding:18px;transition:transform .2s ease, box-shadow .2s ease}
.card:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(0,0,0,.25)}
.highlight{background:linear-gradient(180deg,rgba(11,95,255,.06),rgba(109,58,242,.06));border-top:1px solid rgba(154,168,199,0.15);border-bottom:1px solid rgba(154,168,199,0.15)}
.media-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.media-grid img{width:100%;height:auto;border-radius:12px;border:1px solid rgba(154,168,199,0.15)}
.cta-band{background:linear-gradient(180deg,rgba(11,95,255,.08),rgba(109,58,242,.08));padding:36px 0;border-top:1px solid rgba(154,168,199,0.15);border-bottom:1px solid rgba(154,168,199,0.15)}
.site-footer{border-top:1px solid rgba(154,168,199,0.15);padding:18px 0}
.footer{display:flex;align-items:center;justify-content:space-between;color:var(--muted)}
@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr}
  .features{grid-template-columns:1fr}
  .audience-grid{grid-template-columns:1fr}
  .media-grid{grid-template-columns:1fr}
  h1{font-size:32px}
}

/* Forum and Author form styles */
.form{background:var(--card);border:1px solid rgba(154,168,199,0.15);border-radius:14px;padding:18px}
.field{margin-bottom:12px}
.field label{display:block;margin-bottom:6px;color:var(--text);font-weight:600}
input[type="text"],textarea{width:100%;background:#0d1424;color:var(--text);border:1px solid rgba(154,168,199,0.2);border-radius:10px;padding:10px}
textarea{resize:vertical}
.post-list{display:grid;grid-template-columns:1fr;gap:12px}
.post{background:var(--card);border:1px solid rgba(154,168,199,0.15);border-radius:14px;padding:14px}
.post h4{margin:0 0 4px}
.post .meta{color:var(--muted);font-size:12px;margin-bottom:8px}
.post .content{white-space:pre-wrap}

/* Author profile styles */
.profile{display:flex;gap:20px;align-items:flex-start}
.profile .avatar{width:220px;height:auto;border-radius:12px;border:1px solid rgba(154,168,199,0.15)}
.profile .bio .sub{margin:6px 0}

/* Contact section link color */
#contact .list a{color:var(--text)}
#contact .list a:hover{color:var(--text);opacity:.9}
/* --- Design upgrade: Typography, layout, components --- */
:root {
  --bg: #ffffff;
  --surface: #f7f8fa;
  --text: #121316;
  --muted: #596273;
  --accent: #2b3a67; /* deep indigo for premium feel */
  --accent-2: #8aa0ff; /* subtle secondary accent */
  --border: #e4e7ef;
  --radius: 14px;
  --shadow-sm: 0 4px 16px rgba(18,19,22,0.06);
  --shadow-md: 0 8px 28px rgba(18,19,22,0.08);
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 56px 0; }

h1 { font-size: 40px; line-height: 1.25; letter-spacing: 0.2px; margin: 0 0 12px; }
h2 { font-size: 28px; line-height: 1.35; letter-spacing: 0.2px; margin: 0 0 10px; }
h3 { font-size: 20px; line-height: 1.4; letter-spacing: 0.1px; margin: 0 0 8px; }

.sub { color: var(--muted); font-size: 16px; line-height: 1.85; }

.site-header { position: sticky; top: 0; background: rgba(255,255,255,0.85); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--border); z-index: 20; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 700; letter-spacing: 0.3px; }
.nav a { color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { background: var(--surface); }
.nav a.active { color: var(--accent); font-weight: 600; }

.hero { background: linear-gradient(180deg, #fafbff, #ffffff 70%); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.hero-content .kicker { color: var(--accent); font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; font-size: 12px; }
.pill { background: var(--surface); border: 1px solid var(--border); padding: 6px 10px; border-radius: 999px; color: var(--muted); }

.btn { display: inline-block; padding: 12px 18px; border-radius: 12px; text-decoration: none; font-weight: 600; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn.primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn.secondary { color: var(--accent); border: 1px solid var(--border); background: #fff; }
.btn.secondary:hover { background: var(--surface); }

/* Panels and feature blocks */
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px 20px; }
.feature.profile { padding: 24px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-sm); padding: 16px; }

.list { list-style: none; padding: 0; margin: 10px 0 0; }
.list li { position: relative; padding-left: 18px; margin: 6px 0; color: var(--text); }
.list li { margin: 10px 0; }
.list li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Forms */
.form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.field input, .field textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); outline: none; font-size: 14px; }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(43,58,103,0.1); background: #fff; }

/* Page intro */
.page-intro { padding: 48px 28px; background: linear-gradient(180deg, #f6f7fb, #ffffff); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.page-intro h1 { margin-bottom: 6px; }
.page-intro .sub { max-width: 80ch; }
.page-intro .sub + .sub { margin-top: 10px; }

/* Narrow content for readability */
.content-narrow { max-width: 72ch; }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.feature-card h3 { margin-bottom: 6px; }

/* Divider and spacers */
.divider { height: 1px; border: 0; background: var(--border); margin: 28px 0; }
.spacer-lg { height: 24px; }

.site-footer { border-top: 1px solid var(--border); background: #fff; }
.footer { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; color: var(--muted); }
.footer .links a { color: var(--muted); text-decoration: none; margin-left: 12px; }
.footer .links a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  h1 { font-size: 34px; }
  .grid-2 { grid-template-columns: 1fr; }
}
.avatar { width: 140px; height: auto; border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }