/* codewithguardrails.com — tokens first; the page accent is the site's brand colour.
   Nothing loads from another host. Dark and light follow the system. */
:root {
  --bg: #0e131c;
  --bg-2: #161d2a;
  --text: #e7ebf2;
  --muted: #9aa6b8;
  --accent: #5b8def;
  --accent-2: #f2b134;
  --line: color-mix(in srgb, var(--text) 12%, transparent);
  --radius: 12px;
  --radius-sm: 8px;
  --wm-opacity: .18;
  color-scheme: dark light;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f5f7fb;
    --bg-2: #ffffff;
    --text: #141a24;
    --muted: #56627a;
    --accent: #1e4fb8;
    --accent-2: #b26a00;
    --wm-opacity: .12;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
}
/* The watermark: a repeating line-art tile of the site's own motifs, behind everything. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("/img/watermark.svg?v=2") repeat 0 0;
  background-size: 240px;
  opacity: var(--wm-opacity);
  pointer-events: none;
}
@media (prefers-contrast: more), (prefers-reduced-transparency: reduce) {
  body::before { display: none; }
}
a { color: var(--accent-2); }
a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 2px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--bg-2); color: var(--text); padding: .5rem .75rem; border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; z-index: 10; }
.wrap { width: min(100% - 32px, 920px); margin: 0 auto; }
.site-header { padding: 20px 0; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.brand img { width: 36px; height: 36px; }
.status-pill { font-size: .78rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .7rem; white-space: nowrap; }
main { flex: 1; }
.hero { padding: clamp(56px, 10vw, 112px) 0 40px; text-align: center; }
.hero img { width: clamp(88px, 14vw, 128px); height: auto; margin-bottom: 24px; }
.eyebrow { margin: 0 0 .75rem; color: var(--accent-2); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 0 0 1rem; font-size: clamp(2.25rem, 6vw, 3.5rem); line-height: 1.08; letter-spacing: -.02em; }
h1 .accent { color: var(--accent-2); }
.lede { margin: 0 auto 1.25rem; max-width: 40rem; color: var(--muted); font-size: 1.15rem; }
.note { margin: 0 auto; max-width: 40rem; color: var(--muted); font-size: .95rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; padding: 24px 0 56px; }
.card { background: color-mix(in srgb, var(--bg-2) 92%, transparent); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h2 { margin: 0 0 .4rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.contact { text-align: center; padding: 0 0 64px; color: var(--muted); }
.contact a { text-decoration: none; border-bottom: 1px solid currentColor; }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0 32px; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer a { color: inherit; }
.disclaimer { font-size: .85rem; }
