/*
 * Shared styles for the blog articles.
 *
 * The articles are standalone HTML files rather than routes in the React app,
 * because a blog inside the SPA would be invisible to the AI crawlers it is
 * written for. The cost of that choice is duplication, so everything visual
 * lives here — an article file carries only its own content.
 *
 * Palette matches tailwind.config.js. If the brand changes, it changes there
 * and here.
 */

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

body{
  background:#08090C;color:#D1D5DB;
  font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:17px;line-height:1.75;-webkit-font-smoothing:antialiased;
}
a{color:#8B7CFF;text-decoration:none}
a:hover{color:#B4A9FF;text-decoration:underline}
.wrap{max-width:720px;margin:0 auto;padding:0 20px}

/* ── Chrome ─────────────────────────────────────────────────────────────── */
header{border-bottom:1px solid rgba(255,255,255,.08);padding:18px 0;margin-bottom:56px}
header .wrap{max-width:1100px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.logo{display:flex;align-items:center;gap:8px;color:#F5F5F7;font-weight:700;font-size:19px}
.logo:hover{text-decoration:none;color:#fff}
.dot{width:8px;height:8px;border-radius:99px;background:#8B7CFF;display:inline-block}
.nav-cta{
  background:#6E5BFF;color:#fff;padding:9px 18px;border-radius:99px;
  font-size:14px;font-weight:600;white-space:nowrap;
}
.nav-cta:hover{background:#5645E0;color:#fff;text-decoration:none}

footer{
  border-top:1px solid rgba(255,255,255,.08);margin-top:48px;padding:32px 0 48px;
  font-size:14px;color:#6B7280;text-align:center;
}

/* ── Typography ─────────────────────────────────────────────────────────── */
.eyebrow{
  font-family:'JetBrains Mono',monospace;font-size:12px;letter-spacing:.12em;
  text-transform:uppercase;color:#8B7CFF;margin-bottom:14px;
}
h1{
  font-size:clamp(30px,5.5vw,44px);line-height:1.15;color:#F5F5F7;
  font-weight:700;letter-spacing:-.02em;margin-bottom:18px;
}
.meta{font-size:14px;color:#6B7280;margin-bottom:44px}
h2{
  font-size:26px;line-height:1.25;color:#F5F5F7;font-weight:700;
  margin:52px 0 16px;letter-spacing:-.01em;
}
h3{font-size:19px;color:#F5F5F7;font-weight:600;margin:32px 0 10px}
p{margin-bottom:20px}
ul,ol{margin:0 0 20px 22px}
li{margin-bottom:10px}
strong{color:#F5F5F7;font-weight:600}
.lede{font-size:19px;color:#9CA3AF;margin-bottom:36px}

/* ── Blocks ─────────────────────────────────────────────────────────────── */

/* The direct answer, right after the intro. Readers who came from a search
   want it immediately, and assistants quote it. */
.answer{
  background:#0F1115;border:1px solid rgba(110,91,255,.3);
  border-radius:16px;padding:24px;margin:0 0 44px;
}
.answer p:last-child{margin-bottom:0}

.table-scroll{overflow-x:auto;margin-bottom:12px}
table{border-collapse:collapse;width:100%;min-width:520px;font-size:15px}
th,td{text-align:left;padding:13px 14px;border-bottom:1px solid rgba(255,255,255,.08);vertical-align:top}
th{color:#F5F5F7;font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.06em}
td.num,td.price{font-family:'JetBrains Mono',monospace;color:#8B7CFF;white-space:nowrap}
/* Semantic, not literal: green is "this favours you", red is "this costs you".
   Do not use them to mean yes/no — a "No" can be the good answer. */
.yes{color:#4ADE80}
.no{color:#F87171}
.caption{font-size:13px;color:#6B7280;margin-bottom:28px}

.note{border-left:3px solid #6E5BFF;padding:2px 0 2px 18px;margin:28px 0;color:#9CA3AF}
.note p:last-child{margin-bottom:0}

.diff{
  background:#0F1115;border:1px solid rgba(110,91,255,.3);
  border-radius:16px;padding:28px;margin:36px 0;
}
.diff h3{margin-top:0}
.diff ul{list-style:none;margin-left:0}
.diff li{padding-left:28px;position:relative;margin-bottom:14px}
.diff li::before{content:"✓";position:absolute;left:0;color:#8B7CFF;font-weight:700}
.diff p:last-child{margin-bottom:0}

.checklist{list-style:none;margin-left:0}
.checklist li{
  padding-left:30px;position:relative;margin-bottom:18px;
}
.checklist li::before{
  content:"";position:absolute;left:0;top:9px;width:14px;height:14px;
  border:2px solid #6E5BFF;border-radius:4px;
}

.cta{
  background:#0F1115;border:1px solid rgba(255,255,255,.08);
  border-radius:16px;padding:32px;margin:56px 0 24px;text-align:center;
}
.cta h2{margin-top:0;font-size:22px}
.cta p{color:#9CA3AF;font-size:16px}
.cta .btn{
  display:inline-block;background:#6E5BFF;color:#fff;padding:14px 30px;
  border-radius:99px;font-weight:600;margin-top:8px;
}
.cta .btn:hover{background:#5645E0;color:#fff;text-decoration:none}

.related{
  border-top:1px solid rgba(255,255,255,.08);margin-top:48px;padding-top:28px;font-size:16px;
}
.related p{color:#6B7280;margin-bottom:8px}
.related ul{list-style:none;margin-left:0}
.related li{margin-bottom:8px}

/* ── Index page ─────────────────────────────────────────────────────────── */
.post-list{list-style:none;margin:0}
.post-list li{margin-bottom:0}
.post-list a{
  display:block;background:#0F1115;border:1px solid rgba(255,255,255,.08);
  border-radius:16px;padding:24px;margin-bottom:16px;
}
.post-list a:hover{border-color:rgba(110,91,255,.4);text-decoration:none}
.post-list h2{font-size:20px;margin:0 0 8px;color:#F5F5F7}
.post-list p{color:#9CA3AF;font-size:15px;margin:0}
