/* The blog (pages rendered by the API at /blog). Same colours, fonts and dark mode as the rest of the site. */
:root { --paper: #F4F6F8; --surface: #FFFFFF; --ink: #131A26; --muted: #566173; --thread: #0B6F6A; --thread-soft: #E3F2F1; --line: #DCE1E8; --band: #E9EDF2; }
@media (prefers-color-scheme: dark) { :root { --paper: #0F141C; --surface: #171E29; --ink: #E8ECF2; --muted: #9AA5B5; --thread: #4CC2B9; --thread-soft: #14302F; --line: #2A3442; --band: #131A24; color-scheme: dark; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.7 "IBM Plex Sans", "Segoe UI", system-ui, sans-serif; }
a { color: var(--thread); }
h1, h2, h3 { font-family: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif; line-height: 1.2; color: var(--ink); }

header.top { border-bottom: 1px solid var(--line); background: var(--surface); }
header.top .wrap { max-width: 1040px; margin: 0 auto; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
header.top img { height: 34px; width: auto; display: block; }
@media (prefers-color-scheme: dark) { header.top img { background: #fff; border-radius: 8px; padding: 3px 7px; } }
header.top nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
header.top nav a { color: var(--ink); text-decoration: none; }
header.top nav a:hover { color: var(--thread); }
.btn { display: inline-block; background: var(--thread); color: #fff !important; padding: 9px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.btn:hover { filter: brightness(1.1); }
header.top nav a { white-space: nowrap; }
/* Phones: logo, Log in and the trial button on one row; the logo shrinks to fit. */
@media (max-width: 560px) { header.top .wrap { flex-wrap: nowrap; gap: 12px; } header.top .wrap > a { min-width: 0; } header.top img { height: auto; max-height: 30px; max-width: 100%; } header.top nav { gap: 12px; flex-shrink: 0; font-size: 14px; } header.top nav a:nth-child(-n+2) { display: none; } .btn { padding: 8px 12px; } }

main { margin: 0 auto; padding: 44px 20px 80px; }
main.index { max-width: 1040px; }
main.article { max-width: 760px; }
.eyebrow { font: 600 12px/1 "IBM Plex Sans", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--thread); margin: 0 0 10px; }
.index h1 { font-size: 40px; margin: 0 0 12px; max-width: 760px; }
.lead { color: var(--muted); font-size: 19px; max-width: 720px; margin: 0 0 32px; }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 8px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; }
.card h2 { font-size: 21px; margin: 4px 0 10px; }
.card h2 a { color: var(--ink); text-decoration: none; }
.card h2 a:hover { color: var(--thread); }
.card p { color: var(--muted); margin: 0 0 14px; font-size: 15.5px; flex: 1; }
.card .more { font-weight: 600; font-size: 15px; text-decoration: none; }

.crumbs { font-size: 14px; margin: 0 0 14px; }
.article h1 { font-size: 38px; margin: 0 0 10px; }
.article .body { margin-top: 26px; }
.article .body h2 { font-size: 25px; margin: 38px 0 10px; }
.article .body h3 { font-size: 19px; margin: 26px 0 8px; }
.article .body p, .article .body li { color: var(--ink); }
.article .body ul, .article .body ol { padding-left: 24px; }
.article .body li { margin: 6px 0; }
.article .body blockquote { margin: 22px 0; padding: 14px 20px; border-left: 4px solid var(--thread); background: var(--surface); border-radius: 0 10px 10px 0; color: var(--muted); }
.article .body .callout { background: var(--thread-soft); border-radius: 10px; padding: 16px 20px; margin: 22px 0; }
.article .body table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border: 1px solid var(--line); margin: 18px 0; }
.article .body th, .article .body td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.article .body th { background: var(--band); font-weight: 600; }
.preview { background: #FFF4E0; color: #8A5300; border: 1px dashed #D99A2B; border-radius: 10px; padding: 10px 14px; font-size: 14px; }

.cta { margin: 48px 0 0; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--thread); border-radius: 12px; padding: 24px 26px; }
.cta h2 { font-size: 23px; margin: 0 0 8px; }
.cta p { color: var(--muted); margin: 0 0 16px; }

.related { margin-top: 44px; }
.related h2 { font-size: 20px; margin: 0 0 10px; }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.related li span { color: var(--muted); font-size: 14px; white-space: nowrap; }

footer { border-top: 1px solid var(--line); padding: 24px 20px; text-align: center; font-size: 13.5px; color: var(--muted); }
footer a { color: var(--muted); margin: 0 8px; }

@media (max-width: 600px) {
  .index h1, .article h1 { font-size: 30px; }
  header.top nav { gap: 12px; font-size: 14px; }
  .related li { flex-direction: column; gap: 2px; }
}
