/* Blog — shares the landing page's tokens so an article never looks like a
   different site. Kept in one file because three articles duplicating 200
   lines of CSS is how the pages drift apart. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #13101E;
  --surface: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.09);
  --text: #F5F2FA;
  --text-60: rgba(245,242,250,0.62);
  --text-40: rgba(245,242,250,0.42);
  --purple: #B07EFF;
  --pink: #FF6B9D;
  --gold: #FBBF24;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Nunito', -apple-system, sans-serif;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text); font-family: var(--sans);
  line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
.glow { position: fixed; border-radius: 50%; filter: blur(120px); opacity: .32;
        pointer-events: none; z-index: 0; }
.glow-1 { width: 480px; height: 480px; background: #6D28D9; top: -170px; left: -130px; }
.glow-2 { width: 400px; height: 400px; background: #BE185D; top: 42%; right: -170px; opacity: .2; }

.wrap { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 740px; }

header { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.brand span { font-family: var(--serif); font-size: 24px; }
nav a { color: var(--text-60); text-decoration: none; font-size: 15px; font-weight: 600; margin-left: 22px; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }

.crumbs { font-size: 13.5px; color: var(--text-40); padding: 8px 0 22px; }
.crumbs a { color: var(--text-60); text-decoration: none; }
.crumbs a:hover { color: var(--text); }

.page-head { padding: 22px 0 46px; }
.page-head h1 { font-family: var(--serif); font-weight: 400;
                font-size: clamp(34px, 5.4vw, 54px); line-height: 1.1; margin-bottom: 16px; }
.page-head h1 em { font-style: normal;
  background: linear-gradient(100deg, var(--purple), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-head .lede { font-size: 19px; color: var(--text-60); max-width: 60ch; }
.meta { font-size: 13.5px; color: var(--text-40); margin-top: 18px; }
.tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .12em;
       text-transform: uppercase; color: var(--purple); margin-bottom: 16px;
       background: rgba(176,126,255,.1); border: 1px solid rgba(176,126,255,.25);
       padding: 6px 14px; border-radius: 999px; }

/* listing */
.posts { display: grid; gap: 18px; padding-bottom: 70px; }
.post-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 28px 26px; transition: border-color .2s ease, transform .2s ease;
}
.post-card:hover { border-color: rgba(176,126,255,.4); transform: translateY(-3px); }
.post-card h2 { font-family: var(--serif); font-weight: 400; font-size: 26px;
                line-height: 1.2; margin-bottom: 10px; }
.post-card p { color: var(--text-60); font-size: 15.5px; }
.post-card .meta { margin-top: 14px; }

/* article body */
article { padding-bottom: 20px; }
article h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(25px, 3.4vw, 32px);
             line-height: 1.22; margin: 46px 0 14px; }
article h3 { font-size: 18px; font-weight: 800; margin: 30px 0 10px; }
article p { color: var(--text-60); margin-bottom: 16px; font-size: 16.5px; }
article p strong { color: var(--text); font-weight: 800; }
article a { color: var(--purple); text-decoration: none; border-bottom: 1px solid rgba(176,126,255,.35); }
article a:hover { color: var(--pink); border-bottom-color: rgba(255,107,157,.45); }
article ul, article ol { color: var(--text-60); margin: 0 0 18px 22px; font-size: 16.5px; }
article li { margin-bottom: 9px; }
article li::marker { color: var(--purple); }

.qlist { list-style: none; margin-left: 0; counter-reset: q; }
.qlist li {
  counter-increment: q; position: relative; padding: 14px 18px 14px 54px;
  border-bottom: 1px solid var(--border); color: var(--text); font-size: 16.5px;
}
.qlist li::before {
  content: counter(q); position: absolute; left: 14px; top: 14px;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12.5px; font-weight: 800; color: var(--purple);
  background: rgba(176,126,255,.12); border: 1px solid rgba(176,126,255,.22);
}

.callout {
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--purple);
  border-radius: 14px; padding: 20px 22px; margin: 26px 0; font-size: 16px; color: var(--text-60);
}
.callout strong { color: var(--text); }

.cardgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 26px; }
.gcard { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.gcard .mode { font-size: 11.5px; font-weight: 800; letter-spacing: .12em;
               text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.gcard p { color: var(--text); font-size: 15.5px; margin: 0; }

.cta {
  text-align: center; background: linear-gradient(150deg, rgba(176,126,255,.12), rgba(255,107,157,.09));
  border: 1px solid rgba(176,126,255,.22); border-radius: 26px; padding: 44px 28px; margin: 54px 0 76px;
}
.cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(25px, 3.4vw, 34px);
          margin: 0 0 10px; }
.cta p { color: var(--text-60); margin-bottom: 24px; }
.badges { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.badges img { height: 52px; display: block; }
.badges a { transition: transform .15s ease; }
.badges a:hover { transform: translateY(-2px); }
.trial-note { font-size: 13px; color: var(--text-40); margin-top: 16px; }

footer { border-top: 1px solid var(--border); padding: 36px 0 48px; font-size: 14px; color: var(--text-40); }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot a { color: var(--text-60); text-decoration: none; margin-right: 18px; }
.foot a:hover { color: var(--text); }

@media (max-width: 820px) {
  nav a { margin-left: 14px; font-size: 14px; }
  .cardgrid { grid-template-columns: 1fr; }
}
