:root {
  --teal-deep: #006B5E;
  --teal-bright: #047C81;
  --dark: #0e1513;
  --dark2: #131c1a;
  --amber: #F5A623;
  --amber-light: #FAC85A;
  --text: #e8f0ef;
  --text-muted: #7da89f;
  --border: rgba(4,124,129,0.25);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--text);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(4,124,129,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(4,124,129,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14,21,19,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo { width: 30px; height: 30px; border-radius: 7px; }
.nav-name {
  font-family: 'Space Mono', monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}
.nav-cta {
  background: var(--teal-bright);
  color: #fff;
  padding: 7px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: #05959b; }
main {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}
.badge {
  display: inline-block;
  background: rgba(4,124,129,0.15);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 24px;
}
h1 {
  font-family: 'Space Mono', monospace;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 14px;
}
h1 span {
  background: linear-gradient(135deg, var(--teal-bright), var(--amber-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.meta {
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.75;
  margin-bottom: 36px;
}
article h2 {
  font-family: 'Space Mono', monospace;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 40px 0 14px;
}
article h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 28px 0 10px;
}
article p, article li {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-muted);
  font-weight: 300;
}
article p { margin-bottom: 16px; }
article ul, article ol { margin: 0 0 16px 22px; }
article li { margin-bottom: 6px; }
article a { color: var(--teal-bright); }
article strong { color: var(--text); font-weight: 500; }
article table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 14px;
}
article th, article td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  line-height: 1.5;
}
article th {
  background: var(--dark2);
  color: var(--text);
  font-weight: 500;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.tip {
  border-left: 3px solid var(--amber);
  background: rgba(245,166,35,0.05);
  border-radius: 0 10px 10px 0;
  padding: 12px 16px;
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--text-muted);
}
.tip strong { color: var(--amber-light); font-weight: 500; }
.cta-box {
  margin: 48px 0 0;
  padding: 32px;
  border: 1px solid rgba(4,124,129,0.3);
  border-radius: 16px;
  text-align: center;
  background: var(--dark2);
}
.cta-box h2 { margin-top: 0; font-size: 22px; }
.cta-box p { margin-bottom: 20px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--teal-deep), var(--teal-bright));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(4,124,129,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(4,124,129,0.55); }
/* Blog index cards */
.post-card {
  display: block;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 30px;
  margin-bottom: 18px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.post-card:hover { border-color: rgba(4,124,129,0.55); transform: translateY(-2px); }
.post-card h2 {
  font-family: 'Space Mono', monospace;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.35;
}
.post-card p { font-size: 14.5px; line-height: 1.7; color: var(--text-muted); font-weight: 300; margin-bottom: 10px; }
.post-card .meta { margin-bottom: 0; }
footer {
  position: relative;
  z-index: 1;
  padding: 28px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}
footer a { color: var(--text-muted); }
@media (max-width: 640px) {
  main { padding: 48px 18px 64px; }
  .post-card { padding: 22px 20px; }
  article table { display: block; overflow-x: auto; }
}
