/* OlloVue blog — same tokens as the landing page, deliberately fewer of them.
   The landing page is a pitch and earns its gradients; this is reading, so the
   only jobs here are measure, contrast and rhythm. */
:root{
  --bg:#0a0d14;
  --surface:#0f1420;
  --line:rgba(255,255,255,.09);
  --line-strong:rgba(255,255,255,.16);
  --text:#e8eef7;
  --muted:#99a3b4;
  --accent:#1F6FEB;
  --accent-lit:#2D7FF9;
  --cyan:#2CD9FF;
  --r-surface:16px;
  --shell:1240px;
  --ease:cubic-bezier(.16,1,.3,1);
}
*{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{background:var(--bg);color:var(--text);
  font-family:Outfit,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:var(--accent-lit);text-decoration:none}
a:hover{text-decoration:underline}
.shell{max-width:var(--shell);margin:0 auto;padding:0 24px}

/* ── nav (matches the landing page so the blog doesn't feel like a annex) ── */
.nav{position:sticky;top:0;z-index:20;background:rgba(10,13,20,.82);
  backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.nav .shell{display:flex;align-items:center;justify-content:space-between;height:66px}
.wordmark{color:var(--text);font-weight:800;letter-spacing:.14em;font-size:15px;text-decoration:none}
.wordmark span{color:var(--cyan)}
.nav-links{display:flex;align-items:center;gap:26px}
.nav-links a{color:var(--muted);font-size:14.5px;text-decoration:none}
.nav-links a:hover{color:var(--text)}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;
  font-weight:600;text-decoration:none;transition:transform .2s var(--ease),filter .2s}
.btn:hover{transform:translateY(-1px);filter:brightness(1.08);text-decoration:none}
.btn-primary{background:var(--accent);color:#fff}
.btn-sm{padding:9px 18px;font-size:14px}
@media (max-width:760px){ .nav-links a:not(.btn){display:none} }

/* ── index ── */
.head{padding:clamp(56px,8vw,96px) 0 8px}
.head h1{font-size:clamp(34px,5vw,52px);line-height:1.08;letter-spacing:-.02em;font-weight:800}
.head p{color:var(--muted);margin-top:16px;max-width:56ch;font-size:18px}
.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;
  padding:clamp(40px,6vw,64px) 0 clamp(72px,9vw,110px)}
.post-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-surface);
  overflow:hidden;display:flex;flex-direction:column;transition:border-color .25s,transform .35s var(--ease)}
.post-card:hover{border-color:var(--line-strong);transform:translateY(-3px)}
.post-card a{text-decoration:none;color:inherit;display:flex;flex-direction:column;height:100%}
.post-card .shot{aspect-ratio:16/9;overflow:hidden;border-bottom:1px solid var(--line)}
.post-card .shot img{width:100%;height:100%;object-fit:cover;display:block}
.post-card .body{padding:22px 24px 26px;display:flex;flex-direction:column;gap:10px;flex:1}
.kicker{font-size:12px;letter-spacing:.09em;text-transform:uppercase;color:var(--cyan);font-weight:600}
.post-card h2{font-size:20px;line-height:1.25;font-weight:700;letter-spacing:-.01em}
.post-card p{color:var(--muted);font-size:15px}
@media (max-width:1000px){ .posts{grid-template-columns:repeat(2,1fr)} }
@media (max-width:640px){ .posts{grid-template-columns:1fr} }

/* ── article ──
   62ch measure: long enough not to hyphenate the argument, short enough that
   the eye finds the next line without hunting. */
.article{padding:clamp(48px,7vw,84px) 0 clamp(72px,9vw,110px)}
.article .shell{max-width:760px}
.article h1{font-size:clamp(30px,4.4vw,46px);line-height:1.12;letter-spacing:-.02em;font-weight:800}
.meta{color:var(--muted);font-size:14.5px;margin-top:18px;display:flex;gap:10px;align-items:center}
.meta .dot{opacity:.5}
.article .lede{font-size:20px;color:var(--text);margin-top:28px;line-height:1.55}
.article p{color:var(--muted);font-size:17px;margin-top:20px;max-width:62ch}
.article h2{font-size:26px;font-weight:700;letter-spacing:-.01em;color:var(--text);margin-top:44px}
.article ul{margin-top:18px;padding-left:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.article li{color:var(--muted);font-size:17px;padding-left:20px;position:relative;max-width:62ch}
.article li::before{content:"";position:absolute;left:0;top:.66em;width:6px;height:6px;
  border-radius:50%;background:var(--accent-lit);opacity:.8}
.article b{color:var(--text);font-weight:600}
.article figure{margin:36px 0 0}
.article figure img{width:100%;border-radius:12px;border:1px solid var(--line-strong);display:block}
.article figcaption{color:var(--muted);font-size:14px;margin-top:10px}
.pull{border-left:2px solid var(--cyan);padding:4px 0 4px 20px;margin-top:32px;
  font-size:19px;color:var(--text);line-height:1.5;max-width:58ch}
.back{display:inline-block;margin-top:52px;color:var(--muted);font-size:15px}

/* ── code, for the notes that show one ──
   Same surface as a card, a hair smaller than body so a line of it does not
   shout, and it scrolls sideways instead of ever wrapping mid-token. */
.article pre{margin-top:24px;background:var(--surface);border:1px solid var(--line);border-radius:12px;
  padding:18px 20px;overflow-x:auto;font-size:14.5px;line-height:1.6;color:var(--text);max-width:62ch}
.article code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.article p code,.article li code{background:var(--surface);border:1px solid var(--line);border-radius:6px;
  padding:1px 6px;font-size:.92em;color:var(--text)}
.meta time{color:inherit}

/* ── close ── */
.close{border-top:1px solid var(--line);padding:clamp(56px,7vw,88px) 0}
.close h2{font-size:clamp(24px,3.2vw,34px);font-weight:800;letter-spacing:-.01em}
.close p{color:var(--muted);margin-top:14px;max-width:52ch}
.close .btn{margin-top:26px;padding:13px 26px;font-size:15.5px}
footer{border-top:1px solid var(--line);padding:30px 0;color:var(--muted);font-size:14px}
footer .shell{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
