/* Standalone styling for the static blog pages (no React/build pipeline). */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #0b1430;
  --bg2: #0e1f3e;
  --frost: #eaf2ff;
  --fade: #9fb0d0;
  --faint: #6f82a6;
  --blue: #8fb8ff;
  --line: rgba(255, 255, 255, 0.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(circle at 80% -5%, rgba(143, 184, 255, 0.14), transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  color: var(--frost);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.wrap { max-width: 680px; margin: 0 auto; padding-left: 22px; padding-right: 22px; }

.site-header {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 680px; margin: 0 auto; padding: 20px 22px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 24px; width: auto; display: block; }
.cta {
  display: inline-block;
  padding: 9px 16px; border-radius: 999px;
  background: var(--blue); color: #0a1a33;
  font-weight: 700; font-size: 14px; text-decoration: none;
}
.cta--ghost { background: transparent; border: 1px solid var(--line); color: var(--frost); }

main { padding-top: 8px; padding-bottom: 64px; }
.eyebrow { color: var(--blue); font-weight: 700; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 6px; }
.eyebrow a { color: var(--blue); }
h1 {
  font-family: 'Instrument Serif', ui-serif, Georgia, serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 6px 0 10px;
}
h2 {
  font-size: 21px;
  font-weight: 600;
  margin: 38px 0 10px;
  letter-spacing: -0.01em;
  color: #fff;
}
h3 { font-size: 17px; font-weight: 600; margin: 24px 0 6px; color: #fff; }
p, li { color: #cdd9f0; font-size: 17px; }
.meta { color: var(--faint); font-size: 14px; margin: 0 0 16px; }
a { color: var(--blue); }
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

.callout {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(143, 184, 255, 0.06);
}
.callout p { margin: 0 0 12px; color: var(--frost); }

.post-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, background .2s;
}
.post-card:hover { border-color: rgba(143, 184, 255, 0.4); background: rgba(143, 184, 255, 0.06); }
.post-card h2 { margin: 0 0 8px; color: var(--frost); }
.post-card p { margin: 0 0 12px; color: var(--fade); }
.post-card:last-child { margin-bottom: 0; }
.post-list { display: flex; flex-direction: column; gap: 14px; }

/* Topic tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 26px; }
.tag {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(143, 184, 255, 0.10);
  border: 1px solid rgba(143, 184, 255, 0.28);
  border-radius: 999px;
  padding: 4px 11px;
}
.post-card .tags { margin: 0; }
.post-card .tag { font-size: 11.5px; padding: 3px 9px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 22px;
  text-align: center;
  color: var(--faint);
  font-size: 13.5px;
}
.site-footer a { color: var(--fade); text-decoration: none; margin: 0 8px; }

/* Desktop: a touch wider, larger headings, 2-up listing cards. */
@media (min-width: 900px) {
  .site-header { max-width: 820px; padding: 26px 24px; }
  .wrap { max-width: 760px; }
  h1 { font-size: 48px; }
  .brand img { height: 30px; }
  .post-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
}
