


@font-face { font-family: "Archivo"; src: url(/fonts/archivo-var.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-var.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

body.blog-page {
  --bg: #f2efe7; --surface: #ffffff; --surface-2: #f8f6f1; --tint: #e3eef8;
  --ink: #171b1e; --muted: #4a5258; --line: #d9dde0;
  --brand: #2279c0; --brand-hover: #1d6baa; --brand-ink: #ffffff; --brand-accent: #247dc6; --brand-strong: #1a64a8;
  --focus: #245d93; --radius: 28px; --radius-sm: 16px;
  --font: Arial, "Helvetica Neue", Helvetica, "Inter", system-ui, sans-serif;
  --head: "Arial Black", "Archivo", Arial, system-ui, sans-serif;
  --logo-url: url(/brand/pot.svg);
  color-scheme: light;
  margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font);
  -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility;
}
@media (prefers-color-scheme: dark) {
  body.blog-page {
    --bg: #171b1e; --surface: #1f2428; --surface-2: #262c31; --tint: #1b2a38;
    --ink: #eef1f3; --muted: #b3bcc3; --line: #2f373d;
    --brand: #4b9be0; --brand-hover: #68addf; --brand-ink: #0c1116; --brand-strong: #8cc3f2; --focus: #8cc3f2;
    --logo-url: url(/brand/pot-light.svg);
    color-scheme: dark;
  }
}
.blog-page *, .blog-page *::before, .blog-page *::after { box-sizing: border-box; }
.blog-page a { color: var(--brand-strong); text-underline-offset: 3px; }
.blog-page :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 16px; background: var(--surface); border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }

.blog-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1120px; margin: 0 auto; padding: 16px 16px; }
.blog-brand { display: inline-flex; align-items: center; gap: 10px; font: 800 20px/1 var(--head); color: var(--ink) !important; text-decoration: none; letter-spacing: -.01em; }
.blog-logo { width: 32px; height: 32px; background: var(--logo-url) center / contain no-repeat; }
.blog-bar nav { display: flex; align-items: center; gap: 6px; }
.blog-bar nav a { padding: 10px 14px; border-radius: 999px; font-weight: 600; text-decoration: none; color: var(--ink); }
.blog-bar nav a:hover { background: var(--surface); }
.blog-bar nav a.blog-try, .cta-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 999px;
  background: var(--brand); color: var(--brand-ink) !important; font-weight: 700; text-decoration: none; transition: background-color .15s ease;
}
.blog-bar nav a.blog-try:hover, .cta-btn:hover { background: var(--brand-hover); }

.blog-page main { max-width: 1120px; margin: 0 auto; padding: 8px 16px 64px; }
.blog-intro { max-width: 720px; padding: 32px 0 24px; }
.blog-intro h1, .post-head h1 { font: 800 clamp(34px, 6vw, 56px)/1.05 var(--head); letter-spacing: -.02em; margin: 0 0 16px; text-wrap: balance; }
.blog-intro p { font-size: 19px; color: var(--muted); margin: 0 0 12px; }
.blog-empty { padding: 24px; background: var(--surface); border-radius: var(--radius); }

.post-grid { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.post-card a { display: flex; flex-direction: column; height: 100%; background: var(--surface); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s ease; }
.post-card a:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(23, 27, 30, .12); }
.post-card img, .card-art { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--tint); }
.card-art { background: var(--tint) var(--logo-url) center / 64px no-repeat; }
.card-text { display: grid; gap: 8px; padding: 20px 22px 24px; }
.card-title { font: 750 22px/1.2 var(--head); letter-spacing: -.01em; text-wrap: balance; }
.card-desc { color: var(--muted); }
.card-meta { font-size: 14px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .post-card a { transition: none; } .post-card a:hover { transform: none; } }


.post { max-width: 720px; margin: 0 auto; }
.post-head { padding: 28px 0 20px; }
.post-kicker { margin: 0 0 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.post-kicker a { text-decoration: none; }
.post-meta { color: var(--muted); font-size: 15px; margin: 0; }
.post-cover { margin: 24px 0 8px; }
.post-cover img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--tint); }
.post-body { font-size: 18px; line-height: 1.7; }
.post-body > * { margin: 0 0 1.1em; }
.post-body h2 { font: 800 30px/1.15 var(--head); letter-spacing: -.015em; margin: 1.6em 0 .5em; text-wrap: balance; scroll-margin-top: 24px; }
.post-body h3 { font: 750 22px/1.25 var(--head); margin: 1.4em 0 .4em; text-wrap: balance; scroll-margin-top: 24px; }
.post-body ul, .post-body ol { padding-left: 1.4em; }
.post-body li { margin: .35em 0; }
.post-body figure { margin: 1.6em 0; }
.post-body figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-sm); background: var(--tint); }
.post-body figcaption { margin-top: 8px; font-size: 15px; color: var(--muted); }
.post-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--brand-accent); }
.post-body blockquote p { margin: 0; font: 600 22px/1.45 var(--head); }
.post-body cite { display: block; margin-top: 10px; font-style: normal; color: var(--muted); font-size: 15px; }
.post-body cite::before { content: "— "; }
.post-body .callout { padding: 18px 22px; background: var(--tint); border-radius: var(--radius-sm); }
.post-body .callout p { margin: 0; }
.post-body hr { border: 0; height: 1px; background: var(--line); margin: 2.2em 0; }
.post-body .cta { margin: 1.6em 0; }

.post-end { max-width: 720px; margin: 48px auto 0; padding: 28px; background: var(--surface); border-radius: var(--radius); }
.post-end h2 { font: 800 26px/1.15 var(--head); margin: 0 0 8px; }
.post-end p { margin: 0 0 12px; }

.blog-foot { max-width: 1120px; margin: 0 auto; padding: 28px 16px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.blog-foot p { margin: 0 0 6px; }
.blog-foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; }

@media (max-width: 560px) {
  .blog-bar nav a:not(.blog-try) { padding: 10px 8px; }
  .blog-bar nav a.blog-try { min-height: 44px; padding: 10px 16px; }
  .post-body { font-size: 17px; }
  .post-body h2 { font-size: 26px; }
}
