﻿:root {
  --bg: #03040d;
  --text: #eff4ff;
  --muted: #a9b3cd;
  --line: rgba(255,255,255,0.11);
  --card: rgba(9, 13, 28, 0.72);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  background: linear-gradient(180deg, #02030a 0%, #070d1d 100%);
  min-height: 100vh;
}

.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 50% 20%, rgba(0,0,0,0.8), transparent 78%);
}
.orb {
  position: absolute;
  width: 44vw;
  height: 44vw;
  border-radius: 50%;
  filter: blur(52px);
  opacity: 0.38;
}
.orb-a { left: 5%; top: 0; background: radial-gradient(circle, rgba(74,103,255,0.82), rgba(74,103,255,0)); }
.orb-b { right: 4%; top: 30%; background: radial-gradient(circle, rgba(107,59,255,0.72), rgba(107,59,255,0)); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  background: rgba(4, 6, 14, 0.56);
}
.brand {
  text-decoration: none;
  color: #e8eeff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(111, 138, 255, 0.72);
  color: #8da5ff;
  font-size: 0.85rem;
}
nav { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-link {
  color: #d3dcf8;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
}
.nav-link:hover { border-color: var(--line); background: rgba(255,255,255,0.04); }

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 26px auto 40px;
}
.hero { margin-bottom: 20px; }
.eyebrow {
  margin: 0;
  color: #9fb2ff;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
}
h1 {
  margin: 12px 0 10px;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.lead {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.post-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.01)),
    var(--card);
  padding: 22px 20px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.42);
}
.post-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.2;
}
.post-card p {
  margin: 0 0 10px;
  color: #d8e2ff;
  line-height: 1.7;
}
.post-card p:last-child { margin-bottom: 0; }
.post-link {
  text-decoration: none;
  color: inherit;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}
.post-link:hover {
  transform: translateY(-3px);
  border-color: rgba(124,149,255,0.65);
  background:
    linear-gradient(180deg, rgba(110,124,255,0.16), rgba(255,255,255,0.02)),
    var(--card);
}

.post-article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.01)),
    var(--card);
  padding: 22px 20px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.42);
}
.post-article h1 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}
.post-article h2 { margin-top: 20px; }
.post-article p,
.post-article li {
  color: #d8e2ff;
  line-height: 1.7;
}
.post-image {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  margin: 10px 0 14px;
}
.founder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.founder-card {
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
}
.founder-image {
  margin: 0 0 10px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.founder-card figcaption {
  color: #d8e2ff;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .post-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
}
