/*
  SmashCam support site — single stylesheet, no framework, no build step.
  Written for a small static site: three pages, no JavaScript, readable without it.
  Deliberately hand-writable by someone who does not know CSS well: everything is
  a named variable at the top, and the rest is layout.
*/

:root {
  --bg:        #0f1115;
  --panel:     #171a21;
  --ink:       #e8eaed;
  --muted:     #9aa3ad;
  --accent:    #d9ff3f;
  --rule:      #262b34;
  --max:       44rem;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg:     #ffffff;
    --panel:  #f5f6f8;
    --ink:    #14171c;
    --muted:  #5b6470;
    --accent: #2b6b00;
    --rule:   #e2e5ea;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

header.site {
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 0 1.25rem;
  margin-bottom: 2.5rem;
}
header.site .wrap { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
header.site .brand {
  font-weight: 650; letter-spacing: -0.01em; font-size: 1.15rem;
  text-decoration: none; color: var(--ink);
}
header.site nav { margin-left: auto; display: flex; gap: 1.25rem; }
header.site nav a { color: var(--muted); text-decoration: none; font-size: 0.94rem; }
header.site nav a:hover, header.site nav a[aria-current] { color: var(--accent); }

main { padding-bottom: 4rem; }

h1 { font-size: 2rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 1rem; }
h2 { font-size: 1.15rem; margin: 2.25rem 0 0.6rem; letter-spacing: -0.01em; }
h3 { font-size: 1rem; margin: 1.5rem 0 0.4rem; }
p, li { color: var(--ink); }
p { margin: 0 0 1rem; }
ul { padding-left: 1.15rem; }
li { margin-bottom: 0.4rem; }

.lede { font-size: 1.14rem; color: var(--muted); margin-bottom: 2rem; }

a { color: var(--accent); }

/* A placeholder that MUST NOT ship. Styled so it is impossible to miss on the
   rendered page — if you can see yellow, the page is not ready. */
.ph {
  background: var(--accent);
  color: #111;
  padding: 0 0.3em;
  border-radius: 3px;
  font-weight: 600;
  font-style: normal;
}

.card {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.25rem 1.35rem;
  margin: 1.5rem 0;
}
.card h2 { margin-top: 0; }

dl.contact { margin: 0; }
dl.contact dt { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.9rem; }
dl.contact dt:first-child { margin-top: 0; }
dl.contact dd { margin: 0.15rem 0 0; }

footer.site {
  border-top: 1px solid var(--rule);
  padding: 1.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.88rem;
}
footer.site a { color: var(--muted); }

.updated { color: var(--muted); font-size: 0.9rem; }

@media (max-width: 30rem) {
  h1 { font-size: 1.6rem; }
  header.site nav { margin-left: 0; width: 100%; }
}
