:root {
  --bg: #070817;
  --panel: #10152a;
  --panel-light: #151c36;
  --line: #283252;
  --text: #f8f8ff;
  --muted: #a9b0c7;
  --purple: #8b5cf6;
  --cyan: #14d3ca;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 80% 0%, #2d145d 0, transparent 34%), var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: auto; }
.nav { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: .04em; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 14px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.button { display: inline-block; border-radius: 999px; padding: 13px 20px; font-weight: 800; font-size: 14px; text-decoration: none; color: #fff; background: linear-gradient(120deg, var(--purple), #6d4bff); box-shadow: 0 10px 30px #7c3aed44; }
.button:hover { transform: translateY(-2px); }
.eyebrow, .kicker { color: var(--cyan); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 25px; height: 2px; margin: 0 9px 3px 0; background: var(--cyan); }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.04em; }
h1 { font-size: clamp(42px, 7vw, 76px); max-width: 820px; margin: 18px 0; }
h2 { font-size: clamp(28px, 4vw, 44px); margin: 10px 0 14px; }
p { color: var(--muted); font-size: 18px; }
.hero { padding: 76px 0 62px; max-width: 840px; }
.hero p { max-width: 680px; font-size: 20px; }
.gradient { background: linear-gradient(110deg, #fff 15%, #b178ff 58%, #4ee7e0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.meta { color: #cdd3e5; font-size: 13px; }
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 22px 0 94px; }
.post-card { display: flex; flex-direction: column; min-height: 330px; padding: 30px; background: linear-gradient(145deg, #141a31, #0c1020); border: 1px solid var(--line); border-radius: 24px; }
.post-image { width: calc(100% + 60px); height: 190px; margin: -30px -30px 26px; object-fit: cover; border-radius: 23px 23px 0 0; border-bottom: 1px solid var(--line); }
.post-card h2 { font-size: 30px; }
.post-card p { font-size: 16px; }
.post-card .read { margin-top: auto; color: var(--cyan); font-weight: 800; text-decoration: none; }
.article { max-width: 790px; padding: 62px 0 100px; }
.article h1 { max-width: 790px; font-size: clamp(40px, 6vw, 68px); }
.article .intro { font-size: 21px; color: #d9dcef; }
.article-hero { margin: 28px 0 42px; }
.article-hero img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid #7656e9; border-radius: 24px; box-shadow: 0 24px 70px #0008; }
.article-hero figcaption { margin-top: 10px; color: #858eaa; font-size: 12px; }
.article h2 { margin-top: 52px; }
.article h3 { margin-top: 34px; font-size: 25px; }
.article li, .article p { font-size: 18px; }
.article li { margin: 12px 0; color: var(--muted); }
.article strong { color: var(--text); }
.callout { margin: 48px 0 0; padding: 30px; border: 1px solid #7656e9; border-radius: 24px; background: linear-gradient(135deg, #211541, #10152a); }
.callout p { margin-bottom: 24px; }
footer { padding: 25px 0 42px; border-top: 1px solid #202944; color: var(--muted); font-size: 13px; }
@media (max-width: 700px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .nav { height: auto; padding: 18px 0; align-items: flex-start; }
  .nav-links { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .nav-links .button { padding: 10px 13px; }
  .posts { grid-template-columns: 1fr; }
  .post-image { height: 175px; }
  .hero { padding-top: 56px; }
}
