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

:root {
  --navy: #0a192f;
  --navy-light: #112240;
  --navy-mid: #1d3461;
  --slate: #8892b0;
  --slate-light: #a8b2d8;
  --white-pure: #e6f1ff;
  --accent: #ff6600;
  --font-sans: "Inter", sans-serif;
  --font-mono: "Fira Code", monospace;
  --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
  --nav-h: 70px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--slate);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { opacity: 0.85; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  padding: 0 32px;
  background: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 102, 0, 0.07);
}

.site-header .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
}

.site-header .logo-mark {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.site-header nav {
  display: flex;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.site-header nav a { color: var(--slate-light); }
.site-header nav a:hover { color: var(--accent); opacity: 1; }

.blog-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 32px 100px;
}

.blog-wrap h1 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: var(--white-pure);
  line-height: 1.2;
  margin-bottom: 12px;
}

.blog-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 36px;
}

.blog-wrap h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--white-pure);
  margin: 36px 0 14px;
}

.blog-wrap p {
  margin-bottom: 18px;
}

.blog-wrap ul {
  margin: 0 0 20px 1.25em;
}

.blog-wrap li {
  margin-bottom: 8px;
}

.blog-wrap strong {
  color: var(--slate-light);
  font-weight: 600;
}

.blog-index-title {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 12px;
}

.blog-index-lead {
  margin-bottom: 40px;
  font-size: 17px;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.post-list a {
  display: block;
  padding: 28px 0;
  border-bottom: 1px solid var(--navy-mid);
  color: var(--slate);
  transition: var(--transition);
}

.post-list a:last-child {
  border-bottom: none;
}

.post-list a:hover {
  opacity: 1;
}

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

.post-list h2 {
  font-size: 19px;
  font-weight: 600;
  color: var(--white-pure);
  margin: 0 0 10px;
  transition: var(--transition);
}

.post-list p {
  font-size: 15px;
  margin: 0;
  color: var(--slate);
}

.post-list .meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-top: 14px;
}

.site-footer {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid var(--navy-mid);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
}

.cta-box {
  margin-top: 40px;
  padding: 24px 0 0;
  border: none;
  border-top: 1px solid var(--navy-mid);
  font-size: 16px;
}

.cta-box a { font-weight: 500; }

@media (max-width: 600px) {
  .site-header { padding: 0 20px; }
  .blog-wrap { padding: 32px 20px 80px; }
}
