:root {
  --ink: #e8edf4;
  --muted: #93a0b2;
  --paper: #0b1220;
  --surface: #111b2c;
  --surface-light: #17243a;
  --line: #263650;
  --accent: #a8f06a;
  --accent-dark: #7fc844;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); line-height: 1.65; }
body::before { position: fixed; z-index: -1; inset: 0; opacity: .3; pointer-events: none; content: ""; background-image: linear-gradient(rgba(168, 240, 106, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(168, 240, 106, .035) 1px, transparent 1px); background-size: 4rem 4rem; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.container { width: min(100% - 2.5rem, 70rem); margin: 0 auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(11, 18, 32, .9); backdrop-filter: blur(12px); }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 5.25rem; }
.site-title { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); font-size: 1.05rem; font-weight: 750; letter-spacing: -.02em; text-decoration: none; }
.site-title::before { display: inline-grid; place-items: center; width: 2rem; height: 2rem; color: var(--paper); background: var(--accent); font-size: .75rem; font-weight: 900; content: "L/"; }
nav { display: flex; align-items: center; gap: 1.5rem; }
nav a, .text-link { color: var(--muted); font-size: .85rem; font-weight: 650; text-decoration: none; }
nav a:hover, .text-link:hover { color: var(--accent); }
main { min-height: 70vh; padding: 5rem 0 7rem; }
.intro { margin-bottom: 5rem; }
.home-intro { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: 5rem; align-items: end; padding: 5rem 0 4.5rem; border-bottom: 1px solid var(--line); }
.eyebrow, .post-date, .note-meta { color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { margin: 0 0 1.25rem; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.04em; }
h1 { max-width: 10ch; margin: .25rem 0 1.5rem; color: var(--ink); font-size: clamp(4rem, 12vw, 8.5rem); font-weight: 800; }
h2 { margin: 0; color: var(--ink); font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { margin: .35rem 0 .65rem; color: var(--ink); font-size: 1.45rem; }
h3 a { color: inherit; text-decoration: none; }
h3 a:hover { color: var(--accent); }
.accent-dot { color: var(--accent); }
.lead { max-width: 38rem; margin: 0; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin: 2.25rem 0 0; }
.button { display: inline-block; padding: .8rem 1.15rem; color: var(--paper); background: var(--accent); font-size: .85rem; font-weight: 800; text-decoration: none; transition: background .2s, transform .2s; }
.button:hover { background: var(--accent-dark); transform: translateY(-2px); }
.hero-note { padding: 1.5rem; border: 1px solid var(--line); background: rgba(17, 27, 44, .72); }
.hero-note p { margin: 0; color: var(--ink); font-size: .95rem; }
.status-dot { display: block; width: .6rem; height: .6rem; margin-bottom: 3rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 .35rem rgba(168, 240, 106, .12); }
.note-line { display: block; width: 100%; height: 1px; margin: 2rem 0 1rem; background: var(--line); }
.note-meta { margin: 0; color: var(--muted); font-size: .62rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 1.75rem; }
.post-list { display: grid; gap: .85rem; }
.post-card { display: grid; grid-template-columns: 3rem 1fr auto; gap: 1rem; align-items: center; padding: 1.35rem 1.5rem; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, background .2s, transform .2s; }
.post-card:hover { border-color: var(--accent-dark); background: var(--surface-light); transform: translateX(4px); }
.post-index { margin: 0; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .75rem; }
.post-card-body .post-date { margin: 0; color: var(--muted); }
.post-card p:not(.post-date):not(.post-index) { max-width: 42rem; margin: 0; color: var(--muted); }
.card-arrow { color: var(--accent); font-size: 1.5rem; text-decoration: none; }
.post-list-home .post-card:first-child { border-color: rgba(168, 240, 106, .55); }
.article { max-width: 48rem; margin: 0 auto; }
.back-link { display: inline-block; margin-bottom: 4rem; color: var(--muted); font-size: .85rem; font-weight: 650; text-decoration: none; }
.back-link:hover { color: var(--accent); }
.article h1 { max-width: none; margin-bottom: 1.25rem; font-size: clamp(3rem, 8vw, 6rem); }
.article .post-date { margin: 0 0 1rem; }
.article-meta { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .75rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag { padding: .25rem .5rem; border: 1px solid var(--line); color: var(--accent); }
.article-content { margin-top: 4rem; font-family: "Source Code Pro", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 1.05rem; }
.article-content h2, .article-content h3 { margin-top: 3rem; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.article-content p, .article-content ul, .article-content ol, .article-content blockquote { max-width: 42rem; }
.article-content a { text-decoration-thickness: .08em; text-underline-offset: .15em; }
.article-content img { max-width: 100%; height: auto; }
.article-content blockquote { margin: 2rem 0; padding: .5rem 1.5rem; border-left: 2px solid var(--accent); color: var(--muted); }
.article-content code { padding: .12rem .3rem; color: var(--accent); background: var(--surface); font-size: .88em; }
.article-content pre { overflow-x: auto; padding: 1.25rem; border: 1px solid var(--line); background: #070d17; }
.article-content pre code { padding: 0; background: transparent; }
.site-footer { display: flex; padding: 2.5rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.site-footer .container { display: flex; justify-content: space-between; gap: 1rem; }
.site-footer p { margin: 0; }
.footer-mark { color: var(--accent); font-weight: 800; }
@media (max-width: 45rem) {
  .container { width: min(100% - 2rem, 70rem); }
  main { padding: 3rem 0 5rem; }
  .home-intro { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 0; }
  .hero-note { max-width: 22rem; }
  .section-heading { display: block; }
  .section-heading .eyebrow { margin-bottom: .75rem; }
  .post-card { grid-template-columns: 2rem 1fr auto; padding: 1.1rem; }
  .post-index { align-self: start; padding-top: .35rem; }
  .post-card-body p:not(.post-date) { font-size: .92rem; }
  .article h1 { font-size: clamp(2.8rem, 14vw, 5rem); }
  .back-link { margin-bottom: 3rem; }
  .site-footer .container { display: block; }
  .site-footer p + p { margin-top: .5rem; }
}
