@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/assets/fonts/fraunces-var.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 300; font-display: swap; src: url(/assets/fonts/ibm-plex-mono-300.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/ibm-plex-mono-400.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/ibm-plex-mono-500.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/ibm-plex-mono-600.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/newsreader-var.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/newsreader-italic-var.woff2) format('woff2'); }

:root {
  --ink-0:       #07080a;
  --ink-1:       #0c0e12;
  --ink-2:       #13161b;
  --ink-3:       #1a1d23;
  --rule:        #23272e;
  --rule-2:      #2f343c;
  --muted:       #6c717b;
  --body:        #a4aab4;
  --paper:       #e6e9ee;
  --paper-bright:#f7f9fb;
  --accent:      #d4a437;
  --accent-dim:  #a08330;
  --danger:      #c7382b;
  --positive:    #7d8757;
  --serif:  "Fraunces", Georgia, serif;
  --reader: "Newsreader", Georgia, serif;
  --mono:   "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --maxw: 1200px;
  --pad:  clamp(20px, 4vw, 48px);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink-1); color: var(--paper); font-family: var(--reader);
  font-size: 17px; line-height: 1.6; font-weight: 400; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* Nav */
nav.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(16px); background: rgba(12,14,18,0.86); border-bottom: 1px solid var(--rule); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--pad); }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); }
.logo-mark { width: 30px; height: 30px; border: 1px solid var(--accent); display: grid; place-items: center; font-family: var(--serif); font-weight: 500; font-size: 17px; color: var(--accent); background: var(--ink-2); }
.logo-word { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 32px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }
.nav-links a { color: var(--body); text-decoration: none; padding: 4px 0; transition: color .15s; }
.nav-links a:hover { color: var(--paper); }
.nav-cta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; padding: 9px 18px; border: 1px solid var(--rule-2); color: var(--paper); text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.nav-cta:hover { background: var(--paper); color: var(--ink-0); border-color: var(--paper); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* Breadcrumb + article header */
.breadcrumb { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); padding: 28px 0 0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--paper); }
.article-hero { padding: 24px 0 clamp(48px, 7vh, 80px); border-bottom: 1px solid var(--rule); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 24px; text-transform: uppercase; }
.article-title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 24px; max-width: 26ch; }
.article-title em { font-style: italic; font-weight: 400; color: var(--accent); }
.article-dek { font-family: var(--reader); font-size: 19px; line-height: 1.55; color: var(--body); max-width: 62ch; margin: 0; }
.article-meta { margin-top: 28px; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }

/* Article body / prose */
.article-body { padding: clamp(48px, 7vh, 80px) 0; }
.article-grid { display: grid; grid-template-columns: 1fr 220px; gap: 64px; align-items: start; }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } }
.prose { max-width: 72ch; font-family: var(--reader); font-size: 17px; line-height: 1.7; color: var(--body); }
.prose h2 { font-family: var(--serif); font-weight: 500; color: var(--paper); font-size: clamp(22px, 2.9vw, 30px); line-height: 1.25; letter-spacing: -0.015em; margin: 50px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 22px; }
.prose strong { color: var(--paper); font-weight: 500; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 22px; }
.prose li { margin-bottom: 10px; }
.prose code { font-family: var(--mono); font-size: 0.88em; background: var(--ink-2); border: 1px solid var(--rule); padding: 1px 6px; color: var(--paper); }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-dim); text-underline-offset: 3px; }
.prose a:hover { color: var(--paper-bright); }

.callout { background: var(--ink-2); border: 1px solid var(--rule); border-left: 2px solid var(--accent); padding: 22px 26px; margin: 0 0 32px; font-family: var(--reader); font-size: 15.5px; line-height: 1.6; color: var(--paper); }
.callout strong { color: var(--accent); font-weight: 500; }

/* Code examples */
.code-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.prose pre.code-block { background: var(--ink-0); border: 1px solid var(--rule-2); padding: 18px 20px; margin: 0 0 22px; overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.6; color: var(--paper); }
.prose pre.code-block code { background: none; border: none; padding: 0; color: inherit; font-size: 1em; }

/* Further reading */
.further-reading { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--rule); }
.further-reading ul { list-style: none; margin: 0; padding: 0; }
.further-reading li { margin-bottom: 8px; font-family: var(--reader); font-size: 15px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); max-width: 900px; margin: 0 auto; }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; } }
.tier { background: var(--ink-1); padding: 44px 36px 36px; position: relative; display: flex; flex-direction: column; }
.tier.featured { background: var(--ink-2); }
.tier.featured::before { content: "RECOMMENDED"; position: absolute; top: 18px; right: 28px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--accent); }
.tier-stamp { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 24px; }
.tier-name { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1; margin: 0 0 10px; color: var(--paper); letter-spacing: -0.015em; }
.tier-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 28px; text-transform: uppercase; }
.tier-price { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.tier-price .num { font-family: var(--serif); font-weight: 400; font-size: 52px; line-height: 1; letter-spacing: -0.025em; color: var(--paper); }
.tier-price .unit { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; margin-left: 6px; }
.tier-price .note { display: block; font-family: var(--mono); font-size: 11px; color: var(--body); margin-top: 10px; letter-spacing: 0.02em; line-height: 1.5; text-transform: none; }
.tier-promise { font-family: var(--reader); font-size: 15px; line-height: 1.55; color: var(--body); margin: 0 0 24px; font-style: italic; }
.tier-list { margin: 0 0 32px; padding: 0; list-style: none; flex: 1; border-top: 1px solid var(--rule); }
.tier-list li { font-size: 14px; padding: 11px 0; color: var(--paper); display: flex; gap: 12px; align-items: baseline; border-bottom: 1px solid var(--rule); }
.tier-list li::before { content: "+"; color: var(--accent); font-family: var(--mono); font-weight: 500; flex-shrink: 0; }
.tier-list li.muted { color: var(--muted); }
.tier-list li.muted::before { content: "\2013"; color: var(--muted); }
.tier-cta { display: block; text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; padding: 14px; text-decoration: none; border: 1px solid var(--rule-2); color: var(--paper); transition: background .15s, border-color .15s, color .15s; }
.tier-cta:hover { background: var(--paper); color: var(--ink-0); border-color: var(--paper); }
.tier.featured .tier-cta { background: var(--accent); color: var(--ink-0); border-color: var(--accent); }
.tier.featured .tier-cta:hover { background: var(--paper); border-color: var(--paper); }
.pricing-note { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; text-align: center; margin-top: 32px; }
.pricing-note span { color: var(--accent); }
.bulk-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: 900px; margin: 24px auto 0; border: 1px solid var(--rule); background: var(--ink-2); padding: 20px 28px; }
.bulk-copy { font-family: var(--reader); font-size: 15.5px; color: var(--body); line-height: 1.5; margin: 0; }
.bulk-copy b { color: var(--paper); font-weight: 500; }
.bulk-band .btn-ghost { flex-shrink: 0; padding: 11px 20px; }
@media (max-width: 620px) { .bulk-band { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; } .bulk-band .btn-ghost { width: 100%; text-align: center; } }

/* Hub / index listing pages */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 8px; }
@media (max-width: 700px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: var(--ink-1); padding: 32px 30px; text-decoration: none; display: block; transition: background .2s; }
.post-card:hover { background: var(--ink-2); }
.post-card .post-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 18px; }
.post-card h3 { font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.3; margin: 0 0 10px; color: var(--paper); letter-spacing: -0.01em; }
.post-card p { font-size: 14px; color: var(--body); margin: 0; line-height: 1.6; }

/* Sidebar */
.sidebar { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; }
.sidebar-block { padding: 22px 0; border-top: 1px solid var(--rule); }
.sidebar-block:first-child { border-top: none; }
.sidebar-label { color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; margin-bottom: 12px; }
.sidebar-block a { display: block; color: var(--body); text-decoration: none; padding: 6px 0; line-height: 1.5; }
.sidebar-block a:hover { color: var(--accent); }

/* Compare table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--rule); margin: 0 0 32px; }
.compare { width: 100%; border-collapse: collapse; font-family: var(--reader); font-size: 15px; min-width: 640px; color: var(--paper); }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--rule); }
.compare tr:last-child td { border-bottom: none; }
.compare thead th { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: var(--ink-2); border-bottom: 1px solid var(--rule-2); padding: 14px 20px; text-align: center; }
.compare thead th:first-child { text-align: left; }
.compare thead th.us { color: var(--accent); }
.compare th:first-child, .compare td:first-child { color: var(--body); width: 44%; }
.compare td { text-align: center; font-size: 14px; }
.compare td:first-child { text-align: left; color: var(--paper); font-size: 15px; }
.compare .us-col { background: rgba(212,164,55,0.04); color: var(--paper); }
.mark-yes { color: var(--positive); font-family: var(--mono); font-size: 14px; }
.mark-yes::before { content: "\25CF\00A0"; }
.mark-no { color: var(--muted); font-family: var(--mono); font-size: 14px; }
.mark-no::before { content: "\25CB\00A0"; }
.mark-partial { color: var(--body); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.mark-star { color: var(--accent); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
/* Roundup-style plain table variant */
.compare.roundup th:first-child, .compare.roundup td:first-child { width: auto; white-space: nowrap; font-weight: 500; }
.compare.roundup td { text-align: left; font-size: 14.5px; color: var(--body); vertical-align: top; }
.compare.roundup thead th { text-align: left; }
.compare.roundup tr.us-row td { background: rgba(212,164,55,0.04); }

/* Buttons + CTAs */
.btn-primary { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; padding: 13px 24px; background: var(--accent); color: var(--ink-0); border: 1px solid var(--accent); text-decoration: none !important; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; transition: background .15s, border-color .15s; }
.btn-primary:hover { background: var(--paper); border-color: var(--paper); }
.btn-primary .arrow { transition: transform .15s; }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-ghost { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; padding: 13px 22px; border: 1px solid var(--rule-2); color: var(--paper); text-decoration: none !important; transition: border-color .15s; }
.btn-ghost:hover { border-color: var(--paper); }
.inline-cta { margin-top: 48px; padding: 32px; background: var(--ink-2); border: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.inline-cta p { margin: 0; font-family: var(--reader); font-size: 16px; color: var(--paper); max-width: 42ch; }

/* Final CTA */
.final { text-align: center; padding: clamp(64px, 11vh, 110px) var(--pad); position: relative; border-top: 1px solid var(--rule); background: var(--ink-2); }
.final-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 20px; }
.final h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -0.022em; margin: 0 auto 20px; max-width: 20ch; }
.final h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.final p { color: var(--body); max-width: 56ch; margin: 0 auto 32px; font-size: 16px; line-height: 1.6; }
.final-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: center; }

/* Footer */
footer { position: relative; z-index: 2; border-top: 1px solid var(--rule); padding: 36px 0 32px; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
footer a { color: var(--body); text-decoration: none; margin-right: 24px; transition: color .15s; }
footer a:hover { color: var(--paper); }
.foot-resources { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rule); }
.foot-resources a { color: var(--muted); font-size: 11px; }
.foot-resources a:hover { color: var(--accent); }

::selection { background: var(--accent); color: var(--ink-0); }

/* Modal (Pro not released) */
.modal-scrim { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(7, 8, 10, 0.72); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s ease; }
.modal-scrim.is-open { opacity: 1; visibility: visible; }
.modal { position: relative; width: min(440px, 100%); background: var(--ink-2); border: 1px solid var(--rule-2); border-radius: 4px; padding: 40px 36px 34px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); transform: translateY(10px) scale(.985); transition: transform .28s cubic-bezier(.2, .7, .2, 1); }
.modal-scrim.is-open .modal { transform: translateY(0) scale(1); }
.modal-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.modal-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-dim); animation: modalPulse 2s infinite; }
@keyframes modalPulse { 0% { box-shadow: 0 0 0 0 rgba(212, 164, 55, 0.5); } 70% { box-shadow: 0 0 0 7px rgba(212, 164, 55, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 164, 55, 0); } }
.modal-h { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.2; color: var(--paper-bright); margin: 0 0 14px; letter-spacing: -0.01em; }
.modal-p { font-family: var(--reader); font-size: 15px; line-height: 1.6; color: var(--body); margin: 0 0 26px; }
.modal-close-x { position: absolute; top: 16px; right: 16px; background: none; border: none; cursor: pointer; padding: 6px; font-family: var(--mono); font-size: 16px; line-height: 1; color: var(--muted); transition: color .2s; }
.modal-close-x:hover { color: var(--paper); }
.modal-btn { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; background: var(--paper-bright); color: var(--ink-0); border: none; border-radius: 2px; padding: 13px 24px; transition: opacity .2s; }
.modal-btn:hover { opacity: 0.85; }
