/* Palette from the Shacklog logo: navy, electric blue, cyan. The light and
   dark backgrounds are the logo's own white and navy, so the header marks sit
   on them without a box. */
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("fonts/montserrat-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("fonts/montserrat-latin-700.woff2") format("woff2"); }

:root {
  --bg: #fcfcfd; --fg: #06101c; --muted: #4a5568; --blue: #0350f0; --cyan: #00c2d1;
  --link: #0350f0; --rule: #e2e7ef; --code: #eef2f8;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a111d; --fg: #e6edf6; --muted: #93a3b8; --blue: #3b82ff; --cyan: #00eae7;
    --link: #4fc3ff; --rule: #1c2738; --code: #121b2b;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0 auto; max-width: 42rem; padding: 2rem 1rem 4rem;
  background: var(--bg); color: var(--fg);
  font: 1.0625rem/1.7 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--link); text-underline-offset: .15em; }
h1, h2, h3, .wordmark { font-family: "Montserrat", system-ui, sans-serif; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }

header.site { display: flex; align-items: center; gap: .85rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--rule); margin-bottom: 2rem; }
header.site .mark { display: block; height: 56px; width: auto; }
header.site .brand { display: flex; flex-direction: column; text-decoration: none; color: var(--fg); }
.wordmark { font-size: 1.9rem; line-height: 1; letter-spacing: -.02em; }
.wordmark .log { color: var(--blue); }
.tagline { display: flex; align-items: center; gap: .5rem; margin-top: .35rem; color: var(--muted);
  font: 600 .68rem/1 "Montserrat", system-ui, sans-serif; letter-spacing: .22em; text-transform: uppercase; }
.tagline::before, .tagline::after { content: ""; width: 1rem; height: 2px; background: var(--cyan); border-radius: 1px; }

.intro, .meta, .soon, time { color: var(--muted); }
ul.posts { list-style: none; padding: 0; }
ul.posts li { margin: .6rem 0; }
ul.posts time { font: .85rem ui-monospace, "SF Mono", Menlo, monospace; margin-right: .6rem; }
pre, code { font: .875rem/1.5 ui-monospace, "SF Mono", Menlo, monospace; background: var(--code); }
code { padding: .1em .3em; border-radius: 4px; }
pre { padding: 1rem; overflow-x: auto; border-radius: 6px; border-left: 3px solid var(--cyan); }
pre code { padding: 0; }
blockquote { margin: 0; padding-left: 1rem; border-left: 3px solid var(--blue); color: var(--muted); }
img { max-width: 100%; }
hr { border: 0; border-top: 1px solid var(--rule); }
footer.site { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .875rem; }
