/* aiseop.ai blog — shared chrome. Tokens, navbar, footer, buttons, and type are
   copied verbatim from apps/landing/index.html so blog pages match the landing
   exactly; blog-only styles are at the bottom. */

/* ══ TOKENS (verbatim from index.html) ═════════════════════ */
:root {
  --bg:#FBFBFB;--surface:#FFFFFF;--bg-sunken:#F4F4F4;--surface-2:#F7F7F7;
  --border:#ECECEC;--border-strong:#DDDDDD;
  --fg:#1D1D1F;--fg-muted:#6E6E73;--fg-subtle:#8E8E93;--fg-faint:#C7C7CC;
  --success:#34A85A;--success-soft:#EBF7EE;
  --warn:#C68B00;--warn-soft:#FBF4E0;
  --danger:#C8453B;--danger-soft:#FBEEEC;
  --r-sm:8px;--r:14px;--r-lg:18px;
  --shadow-sm:0 0 0 1px rgba(0,0,0,.03);
  --shadow:0 1px 3px rgba(0,0,0,.05);
  --shadow-lg:0 8px 32px rgba(0,0,0,.08),0 0 0 1px rgba(0,0,0,.04);
  --vis:#C8453B;--vis-soft:#FBEEEC;
  --opt:#2F8F4E;--opt-soft:#EBF7EE;
  --mon:#3D6FB5;--mon-soft:#EBF0FA;
  --gpt:#34A85A;--claude:#C97C5D;--gemini:#4F86C6;--perplexity:#4FA8A8;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Inter',-apple-system,sans-serif;background:var(--bg);color:var(--fg);letter-spacing:-.005em;-webkit-font-smoothing:antialiased;font-size:15px;line-height:1.5}
a{color:inherit;text-decoration:none}
button,input{font-family:inherit}

/* ══ LAYOUT ═════════════════════════════════════════════════ */
.wrap{max-width:1120px;margin:0 auto;padding:0 40px}

/* ══ TYPOGRAPHY ═════════════════════════════════════════════ */
.eyebrow{font-family:'JetBrains Mono',monospace;font-size:10.5px;text-transform:uppercase;letter-spacing:.14em;color:var(--fg-muted);display:flex;align-items:center;gap:6px;margin-bottom:18px}
.edot{width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}
.sub{font-size:15px;color:var(--fg-muted);line-height:1.65;max-width:56ch}

/* ══ CARDS ══════════════════════════════════════════════════ */
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:22px;transition:border-color .15s}
.card:hover{border-color:var(--border-strong)}

/* ══ BUTTONS ════════════════════════════════════════════════ */
.btn{display:inline-flex;align-items:center;gap:6px;padding:10px 20px;border-radius:999px;font-size:14px;font-weight:500;cursor:pointer;border:none;outline:none;transition:opacity .12s,transform .1s;white-space:nowrap}
.btn:active{transform:scale(.98)}
.btn-primary{background:var(--fg);color:#fff}
.btn-primary:hover{opacity:.85}
.btn-sm{padding:7px 14px;font-size:13px}

/* ══ NAVBAR (verbatim) ══════════════════════════════════════ */
.navbar{position:sticky;top:0;z-index:100;height:68px;display:flex;align-items:center;background:rgba(251,251,251,.82);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid transparent;transition:border-color .2s,background .2s}
.navbar.scrolled{border-bottom-color:var(--border);background:rgba(251,251,251,.96)}
.navbar .wrap{display:flex;align-items:center;justify-content:space-between;width:100%;gap:20px}
.nav-links{display:flex;align-items:center;gap:2px}
.nav-link{font-size:14px;color:var(--fg-muted);padding:6px 11px;border-radius:8px;transition:color .12s,background .12s}
.nav-link:hover{color:var(--fg);background:var(--surface-2)}
.nav-actions{display:flex;align-items:center;gap:8px}
.nav-logo{display:flex;align-items:center;flex-shrink:0}

/* ══ FOOTER (verbatim) ══════════════════════════════════════ */
.footer{background:var(--bg-sunken);border-top:1px solid var(--border);padding:56px 0 32px}
.footer-grid{display:grid;grid-template-columns:auto 1fr 1fr 1fr 1fr;gap:40px;margin-bottom:48px}
.footer-bottom{padding-top:20px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.footer-legal{font-family:'JetBrains Mono',monospace;font-size:11px;color:var(--fg-subtle)}

/* ══ BLOG INDEX ═════════════════════════════════════════════ */
.blog-hero{padding:84px 0 20px;text-align:center}
.blog-hero-title{font-size:clamp(36px,4.5vw,54px);font-weight:600;letter-spacing:-.03em;line-height:1.08;text-wrap:balance}
.blog-hero .eyebrow{justify-content:center}
.blog-list{padding:48px 0 96px}
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.blog-card{display:flex;flex-direction:column;padding:26px;min-height:260px}
.blog-card:hover{box-shadow:var(--shadow-lg)}
.blog-card-title{font-size:19px;font-weight:600;letter-spacing:-.018em;line-height:1.25;margin-bottom:10px}
.blog-card-excerpt{font-size:13.5px;color:var(--fg-muted);line-height:1.6}

/* ══ POST PAGE ══════════════════════════════════════════════ */
.post-main{padding:64px 0 96px}
.post-wrap{max-width:720px;margin:0 auto;padding:0 40px}
.post-back{font-family:'JetBrains Mono',monospace;font-size:12px;color:var(--fg-subtle);display:inline-block;margin-bottom:36px;transition:color .12s}
.post-back:hover{color:var(--fg)}
.post-title{font-size:clamp(30px,4vw,42px);font-weight:600;letter-spacing:-.028em;line-height:1.12;text-wrap:balance;margin-bottom:14px}
.post-meta{font-family:'JetBrains Mono',monospace;font-size:11.5px;color:var(--fg-subtle);letter-spacing:.02em}
.post-body{margin-top:40px;font-size:15.5px;line-height:1.75;color:var(--fg)}
.post-body h2{font-size:24px;font-weight:600;letter-spacing:-.02em;line-height:1.25;margin:44px 0 14px}
.post-body h3{font-size:18px;font-weight:600;letter-spacing:-.015em;margin:32px 0 10px}
.post-body h4{font-size:15.5px;font-weight:600;margin:26px 0 8px}
.post-body p{margin:0 0 16px;color:#3A3A3E}
.post-body ul,.post-body ol{margin:0 0 16px;padding-left:22px;color:#3A3A3E}
.post-body li{margin-bottom:8px}
.post-body li::marker{color:var(--fg-subtle)}
.post-body strong{font-weight:600;color:var(--fg)}
.post-body a{color:var(--mon);text-decoration:underline;text-underline-offset:2px}
.post-body code{font-family:'JetBrains Mono',monospace;font-size:.86em;background:var(--surface-2);border:1px solid var(--border);border-radius:5px;padding:1px 5px}
.post-body blockquote{margin:0 0 16px;padding:16px 20px;background:var(--surface-2);border-left:3px solid var(--border-strong);border-radius:0 var(--r-sm) var(--r-sm) 0}
.post-body blockquote p{margin:0;font-size:14.5px;color:var(--fg-muted)}
.post-body blockquote p+p{margin-top:10px}
.post-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:56px;flex-wrap:wrap}

/* ══ RESPONSIVE ═════════════════════════════════════════════ */
@media(max-width:900px){
  .blog-grid{grid-template-columns:1fr}
}
@media(max-width:768px){
  .wrap{padding:0 20px}
  .post-wrap{padding:0 20px}
  .footer-grid{grid-template-columns:1fr 1fr}
  .nav-links{display:none}
}
