/* Blog: the landing page's tokens, one readable article column. */
@import url("/styles.css");

.bnav { position: sticky; top: 0; z-index: 10; background: rgba(246, 241, 230, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(30, 35, 31, .1); }
.bnav-in { display: flex; align-items: center; gap: 18px; height: 64px; }
.bnav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.bnav .spacer { flex: 1; }
.bnav .blog-link { text-decoration: none; color: var(--ink-soft); font-weight: 600; }

.post, .blog-index { max-width: 760px; margin-inline: auto; padding-inline: 20px; padding-block: 28px 96px; }
.crumbs { font-size: 14px; color: var(--ink-faint, #8A8F84); display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.post .kicker { margin-top: 26px; }
.post h1, .blog-index h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 6vw, 58px); line-height: 1.04; letter-spacing: -0.025em; margin: 10px 0 14px; text-wrap: balance; }
.post .meta { color: var(--ink-faint, #8A8F84); font-size: 15px; margin: 0 0 22px; }
.post .cover { display: block; width: 100%; height: auto; border-radius: 18px; border: 2px solid var(--ink); margin: 0 0 26px; }
.post .lede { font-size: 20px; line-height: 1.55; color: var(--ink); margin: 0 0 26px; max-width: none; }

.post article { display: grid; gap: 0; }
.post article > * { min-width: 0; }
.post h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4vw, 34px); line-height: 1.15; letter-spacing: -0.015em; margin: 44px 0 12px; scroll-margin-top: 84px; text-wrap: balance; }
.post h3 { font-size: 19px; margin: 26px 0 8px; scroll-margin-top: 84px; }
.post p, .post li { color: #3D433B; font-size: 18px; line-height: 1.7; }
.post p { margin: 0 0 16px; }
.post ul, .post ol { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 8px; }
.post a { color: var(--thyme); text-underline-offset: 3px; }
.post strong { color: var(--ink); }

.toc { background: var(--card); border: 1px solid rgba(30, 35, 31, .12); border-radius: 16px; padding: 18px 22px; margin: 0 0 10px; }
.toc p { font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--thyme); margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 20px; gap: 4px; }
.toc li { font-size: 16px; line-height: 1.5; }
.toc a { text-decoration: none; }

/* .note is also the landing page's floating sticky note (absolute, bordered, shadowed); reset all of that here. */
.post .note, .post .tip { position: static; display: block; border: 0; box-shadow: none; z-index: auto; border-radius: 16px; padding: 16px 20px; margin: 6px 0 20px; }
.post .note b, .post .note span { font: inherit; letter-spacing: normal; line-height: inherit; color: inherit; }
.post .note b { font-weight: 700; }
.post .note { background: var(--mustard-soft); }
.post .tip { background: var(--thyme-soft); }
.post .note p, .post .tip p { margin: 0; font-size: 17px; }
.post .note p + p, .post .tip p + p { margin-top: 8px; }

.tbl-wrap { overflow-x: auto; margin: 6px 0 22px; border: 1px solid rgba(30, 35, 31, .12); border-radius: 14px; background: var(--card); }
.tbl-wrap table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 460px; }
.tbl-wrap th, .tbl-wrap td { text-align: left; padding: 10px 14px; border-bottom: 1px solid rgba(30, 35, 31, .08); vertical-align: top; }
.tbl-wrap th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); background: var(--paper-2); }
.tbl-wrap tr:last-child td { border-bottom: 0; }
.tbl-wrap td.num, .tbl-wrap th.num { text-align: right; font-variant-numeric: tabular-nums; }
/* .num is the landing page's big italic figure style; in blog tables it's just a right-aligned number. */
.post .tbl-wrap .num { font-family: inherit; font-style: normal; font-size: inherit; line-height: inherit; color: inherit; }

.cta { background: var(--thyme); color: #fff; border-radius: 22px; padding: 24px 26px; margin: 40px 0 10px; display: grid; gap: 10px; }
.cta h2 { color: #fff; margin: 0; font-size: 28px; }
.cta p { color: rgba(255, 255, 255, .86); margin: 0; }
.cta .btn { justify-self: start; margin-top: 6px; }

.faq h2 { margin-top: 48px; }
.faq details { border-bottom: 1px solid rgba(30, 35, 31, .12); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; color: var(--ink); list-style-position: outside; }
.faq details p { margin: 10px 0 0; }

.related ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.related a { display: block; background: var(--card); border: 1px solid rgba(30, 35, 31, .12); border-radius: 14px; padding: 14px 18px; text-decoration: none; color: var(--ink); font-weight: 600; }
.related a span { display: block; font-weight: 400; font-size: 15px; color: var(--ink-soft); margin-top: 2px; }

.disclaimer { font-size: 15px !important; color: var(--ink-faint, #8A8F84) !important; border-top: 1px solid rgba(30, 35, 31, .12); padding-top: 18px; margin-top: 36px !important; }

.bfoot { border-top: 1px solid rgba(30, 35, 31, .12); }
.bfoot-in { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-block: 26px; font-size: 14px; color: var(--ink-soft); }
.bfoot a { color: var(--ink-soft); }

/* Blog index */
.blog-index h1 em { font-style: italic; color: var(--thyme); }
.blog-index .intro { font-size: 20px; color: var(--ink-soft); margin: 0 0 30px; }
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.post-list a { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; background: var(--card); border: 1px solid rgba(30, 35, 31, .12); border-radius: 18px; padding: 18px 22px; text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.post-list a:hover { transform: translateY(-2px); box-shadow: 4px 6px 0 var(--ink); }
.post-list img { width: 100%; height: auto; border-radius: 12px; border: 1.5px solid var(--ink); display: block; }
.post-list a > div { display: grid; gap: 4px; min-width: 0; }
.post-list .cat { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--thyme); }
.post-list h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; margin: 0; }
.post-list p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.5; }

@media (max-width: 560px) {
  .post-list a { grid-template-columns: 1fr; }
  .post p, .post li { font-size: 17px; }
  .tbl-wrap table { min-width: 0; font-size: 15px; }
  .tbl-wrap th, .tbl-wrap td { padding: 9px 10px; }
  .tbl-wrap th { font-size: 11px; letter-spacing: .04em; }
  .post .lede { font-size: 18px; }
}

.bfoot .social { display: flex; gap: 10px; flex-wrap: wrap; width: 100%; margin-top: 4px; }
