@charset "UTF-8";
:root {
  --bg:#0b1220;
  --panel:rgba(255,255,255,.06);
  --panel2:rgba(0,0,0,.25);
  --border:rgba(255,255,255,.14);
  --text:#eaf0ff;
  --muted:rgba(234,240,255,.72);
  --accent:#8DE0FF;
  --primary:#4E70F1;
  --danger:#FBAB9C;
  --ok:#76b022;
  --radius:14px;
  --shadow:0 10px 26px rgba(0,0,0,.35);
  --font:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: radial-gradient(900px 520px at 15% 0%, color-mix(in oklab, var(--primary) 22%, transparent), transparent 60%), radial-gradient(900px 520px at 85% 0%, color-mix(in oklab, var(--danger) 18%, transparent), transparent 60%), radial-gradient(900px 520px at 50% 100%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 60%), var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 14px 72px;
}

/* ── Nav ─────────────────────────────────── */
nav {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 55%), var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.nav-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), color-mix(in oklab, var(--accent) 60%, var(--primary)));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 4px 14px rgba(78, 112, 241, 0.4);
  flex-shrink: 0;
}

.nav-title {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.btn {
  padding: 9px 14px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s, border-color 0.15s;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn.primary {
  background: color-mix(in oklab, var(--primary) 45%, rgba(255, 255, 255, 0.08));
  border-color: color-mix(in oklab, var(--primary) 70%, rgba(255, 255, 255, 0.14));
}

.btn.primary:hover {
  background: color-mix(in oklab, var(--primary) 62%, rgba(255, 255, 255, 0.08));
}

.btn.active {
  background: color-mix(in oklab, var(--accent) 18%, rgba(255, 255, 255, 0.06));
  border-color: color-mix(in oklab, var(--accent) 45%, rgba(255, 255, 255, 0.14));
  color: var(--accent);
}

/* ── Blog index ──────────────────────────── */
.blog-hero {
  margin-top: 28px;
  text-align: center;
  padding: 36px 20px 28px;
}

.blog-hero h1 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 8px;
}

.blog-hero p {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 520px;
  margin: 0 auto;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.post-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 55%), var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 30px;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
  overflow: hidden;
}

.post-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 0% 0%, color-mix(in oklab, var(--primary) 10%, transparent), transparent 70%);
  pointer-events: none;
}

.post-card:hover {
  border-color: color-mix(in oklab, var(--accent) 35%, rgba(255, 255, 255, 0.14));
}

.post-meta {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.post-card h2 {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 10px;
}

.post-card h2 a {
  color: var(--text);
  text-decoration: none !important;
}

.post-card h2 a:hover {
  color: var(--accent);
}

.post-excerpt {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.read-more {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.read-more:hover {
  text-decoration: underline;
}

/* ── Post page ───────────────────────────── */
.post-header {
  margin-top: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 55%), var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 38px 44px 32px;
  position: relative;
  overflow: hidden;
}

.post-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 280px at 50% -10%, color-mix(in oklab, var(--primary) 14%, transparent), transparent 70%);
  pointer-events: none;
}

.post-header .post-meta {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.post-header h1 {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.25;
  position: relative;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 20px;
  transition: color 0.15s;
}

.back-link:hover {
  color: var(--accent);
  text-decoration: none !important;
}

.post-body {
  margin-top: 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 38px 44px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

@media (max-width: 640px) {
  .post-header, .post-body {
    padding: 24px 20px;
  }
}
/* ── Prose styles (post body) ────────────── */
.post-body h1, .post-body h2, .post-body h3,
.post-body h4, .post-body h5, .post-body h6 {
  color: var(--text);
  font-weight: 900;
  line-height: 1.25;
  margin: 1.6em 0 0.5em;
}

.post-body h1 {
  font-size: 26px;
}

.post-body h2 {
  font-size: 21px;
  padding-bottom: 0.4em;
  border-bottom: 1px solid var(--border);
}

.post-body h3 {
  font-size: 17px;
}

.post-body h4 {
  font-size: 15px;
}

.post-body p {
  margin: 0.85em 0;
}

.post-body ul, .post-body ol {
  padding-left: 1.5em;
  margin: 0.85em 0;
}

.post-body li {
  margin: 0.3em 0;
}

.post-body li > ul, .post-body li > ol {
  margin: 0.2em 0;
}

.post-body strong {
  color: var(--text);
  font-weight: 700;
}

.post-body em {
  font-style: italic;
}

.post-body a {
  color: var(--accent);
}

.post-body blockquote {
  border-left: 3px solid var(--primary);
  margin: 1.2em 0;
  padding: 0.6em 1.2em;
  background: rgba(78, 112, 241, 0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text);
  font-style: italic;
}

.post-body blockquote p {
  margin: 0.3em 0;
}

.post-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2em 0;
}

.post-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.15em 0.4em;
  color: var(--accent);
}

.post-body pre {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  overflow-x: auto;
  margin: 1.2em 0;
}

.post-body pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text);
  font-size: 0.9em;
}

.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 14.5px;
}

.post-body th, .post-body td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}

.post-body th {
  background: rgba(78, 112, 241, 0.14);
  color: var(--text);
  font-weight: 800;
}

.post-body tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

/* ── Footer ──────────────────────────────── */
footer {
  margin-top: 48px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/*# sourceMappingURL=main.css.map */