/* Ascentir LLC site. Plain CSS, no build step. Colours follow the Ascentir mark (black tile, white arrow). */
:root {
  --bg: #ffffff;
  --surface: #f6f6f7;
  --text: #111113;
  --muted: #5c5c66;
  --line: #e4e4e8;
  --link: #111113;
  --accent: #0b0b0c;
  --accent-text: #ffffff;
  --max: 46rem;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0c;
    --surface: #161619;
    --text: #f2f2f4;
    --muted: #a2a2ad;
    --line: #2a2a30;
    --link: #ffffff;
    --accent: #ffffff;
    --accent-text: #0b0b0c;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
main, .site-footer { overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: .01em; font-size: 17px; }
.brand img { width: 30px; height: 30px; border-radius: 7px; display: block; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* content */
main { padding: 40px 0 56px; }
h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.01em; }
h2 { font-size: 22px; line-height: 1.3; margin: 40px 0 10px; }
h3 { font-size: 17px; margin: 24px 0 6px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
.lead { font-size: 18px; color: var(--muted); max-width: 40rem; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin: 20px 0; }
.card > :last-child { margin-bottom: 0; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 14px; margin: 18px 0; }
.grid .card { margin: 0; }
.status { border-color: var(--accent); }
code, .code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; word-break: break-all; }
.small { font-size: 14px; color: var(--muted); }
.toc { font-size: 15px; }
.toc ol { margin: 0; }
[hidden] { display: none !important; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.site-footer p { margin: 0 0 8px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.footer-links a { white-space: nowrap; }
.yt-note { margin-top: 10px; }

@media (max-width: 420px) {
  .nav { gap: 12px; font-size: 14px; }
  .site-header .wrap { gap: 8px; }
}
