/* The site's one stylesheet: the landing page and the Markdown pages (docs/_layouts/default.html). */
:root {
  --bg: #0B0D19; --surface: #121526; --raised: #0D0F1C; --fg: #E6E8F2; --secondary: #A3A8C3; --muted: #6E7391;
  --line: rgba(163,168,195,.30); --accent: #1D9E75; --amber: #EF9F27; --blue: #378ADD; --violet: #7F77DD;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; }
a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; }
code, pre { font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; font-size: 13.5px; }
code { background: var(--raised); padding: 1px 5px; border-radius: 4px; }
pre { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; overflow-x: auto; }
pre code { background: none; padding: 0; }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: 1040px; margin: 0 auto; padding: 18px max(20px, env(safe-area-inset-left)); }
.brand { font: 600 18px ui-rounded, "SF Pro Rounded", -apple-system, sans-serif; color: var(--fg); }
.bar nav { display: flex; gap: 18px; flex-wrap: wrap; } .bar nav a { color: var(--secondary); }

main { max-width: 1040px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left)) 48px; }
h1 { font: 700 clamp(30px, 5vw, 48px)/1.1 ui-rounded, "SF Pro Rounded", -apple-system, sans-serif; margin: 40px 0 16px; text-wrap: balance; }
h2 { font-size: 24px; margin: 48px 0 12px; }
h3 { font-size: 16px; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.lede { font-size: 19px; color: var(--secondary); max-width: 640px; margin: 0 0 24px; }
.muted { color: var(--muted); }
.hero { text-align: center; } .hero .lede { margin-left: auto; margin-right: auto; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.button { background: var(--accent); color: #0B1F17; font-weight: 600; padding: 10px 20px; border-radius: 9px; }
.button.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.button:hover { text-decoration: none; filter: brightness(1.08); }
.shot { max-width: 100%; height: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 56px; }
.grid > div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.grid p { margin: 0; color: var(--secondary); font-size: 15px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.green { background: var(--accent); } .amber { background: var(--amber); } .blue { background: var(--blue); } .violet { background: var(--violet); }

table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
td, th { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.repos table { display: table; }
.repos td:first-child { white-space: nowrap; }

footer { text-align: center; color: var(--muted); padding: 32px 20px 48px; font-size: 14px; }

/* Markdown pages */
.doc { max-width: 820px; }
.doc h1 { font-size: 34px; margin-top: 24px; }
.doc h2 { border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.doc p, .doc li { color: var(--secondary); } .doc strong { color: var(--fg); }
.doc img { max-width: 100%; }
