:root{
  --bg:#070a12;
  --border:rgba(148,163,184,.18);
  --text:#eef2ff;
  --muted:rgba(226,232,240,.75);
  --muted2:rgba(226,232,240,.55);
  --shadow: 0 20px 60px rgba(0,0,0,.35);
  --r2: 24px;
  --max: 980px;
  --accent: #ffffff;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(148,163,184,.12), transparent 60%),
              radial-gradient(900px 500px at 90% 20%, rgba(255,255,255,.06), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.header{
  position: sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(7,10,18,.72);
  border-bottom: 1px solid var(--border);
}

.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 0 10px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-badge{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(148,163,184,.12);
  border: 1px solid var(--border);
}
.brand-name{ font-size: 15px; }

.nav{
  display:flex;
  gap: 14px;
  font-size: 14px;
  color: var(--muted);
}
.nav a{
  padding: 8px 10px;
  border-radius: 12px;
}
.nav a:hover{
  background: rgba(148,163,184,.10);
  color: var(--text);
  text-decoration:none;
}

.header-cta{ padding: 0 0 14px; }
.cta-link{ display:block; text-decoration:none; }
.cta-button{
  display:block;
  width: 100%;
  text-align:center;
  padding: 14px 16px;
  border-radius: var(--r2);
  background: var(--accent);
  color: #0b1020;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow);
}
.cta-button:hover{ filter: brightness(.96); }

.main{ padding: 28px 0 40px; }

.hero{ margin: 6px 0 20px; }
.hero h1{
  margin: 0;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.hero p{
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 66ch;
}

.grid{ display:grid; gap: 14px; }

.card{
  border: 1px solid var(--border);
  border-radius: var(--r2);
  background: linear-gradient(180deg, rgba(148,163,184,.08), rgba(148,163,184,.03));
  padding: 22px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.card:hover{
  transform: translateY(-1px);
  border-color: rgba(148,163,184,.28);
  background: linear-gradient(180deg, rgba(148,163,184,.10), rgba(148,163,184,.04));
}
.card h2{ margin: 0; font-size: 18px; letter-spacing: -0.02em; }
.card p{ margin: 8px 0 0; color: var(--muted); }
.card .date{ margin-top: 10px; font-size: 13px; color: var(--muted2); }

.article{
  border: 1px solid var(--border);
  border-radius: var(--r2);
  background: linear-gradient(180deg, rgba(148,163,184,.08), rgba(148,163,184,.03));
  padding: clamp(18px, 2.3vw, 28px);
}
.article h1{
  margin: 0 0 6px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.article .meta{ color: var(--muted2); font-size: 13px; margin-bottom: 18px; }
.article h2{ margin: 24px 0 10px; font-size: 20px; letter-spacing: -0.02em; }
.article h3{ margin: 18px 0 8px; font-size: 16px; letter-spacing: -0.01em; }
.article p{ margin: 10px 0; color: var(--muted); }
.article ul, .article ol{ margin: 10px 0 10px 20px; color: var(--muted); }
.article li{ margin: 6px 0; }
.article blockquote{
  margin: 14px 0;
  padding: 12px 14px;
  border-left: 3px solid rgba(255,255,255,.35);
  background: rgba(148,163,184,.08);
  border-radius: 14px;
  color: var(--muted);
}
.article pre{
  background: rgba(0,0,0,.35);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 16px;
  overflow:auto;
  color: var(--text);
}

.article button{
  border: 1px solid var(--border);
  background: rgba(148,163,184,.10);
  border-radius: 14px;
  padding: 10px 12px;
  margin: 6px 8px 0 0;
}
.article button a{ text-decoration:none; color: var(--text); font-weight: 800; }
.article button:hover{ background: rgba(148,163,184,.16); border-color: rgba(148,163,184,.28); }

.footer{
  border-top: 1px solid var(--border);
  padding: 18px 0;
  color: var(--muted2);
  font-size: 13px;
}
.footer-row{
  display:flex;
  gap: 12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap: wrap;
}
.footer-links{ display:flex; gap: 12px; }
.footer a:hover{ color: var(--text); text-decoration:none; }

@media (max-width: 520px){
  .nav{ gap: 8px; }
  .nav a{ padding: 8px 8px; }
}
