/* Steadycase Courtroom Practice — shared styles for static pages (/learn/, /terms/,
   /privacy/, /disclaimer/). Same courtroom palette as the game
   (src/styles.css); type comes from /steadycase-type.css. Duplicated here
   so static pages need no build step. */

:root {
  --paper: #f4f5f7; --paper-2: #e7eaef; --ink: #1f2430; --ink-2: #3c424f;
  --line: #1f2430; --hair: #d7dae0; --brass: #ff5a36; --brass-2: #e84a26; --brass-tint: #ffe9e2;
  --brass-3: #b3350f; --sky: #2bb3e8; --sky-tint: #e8f6fd; --sun: #ffc53d;
  --green: #2fbf71; --red: #ff5a36; --muted: #5a6070; --white: #ffffff;
  --shadow: 4px 4px 0 var(--ink);
}
* { box-sizing: border-box }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: .005em }

.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 720px; margin: 0 auto; padding: 16px 20px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none }
.brand svg { width: 26px; height: 26px }
.brand .name { font-family: var(--font-body); font-weight: 800; font-size: 17px; letter-spacing: .01em; color: var(--ink) }
.brand .name b { font-family: var(--font-display); font-weight: 400; font-size: 21px; color: var(--brass) }
.topbar .play-cta {
  font-size: 13px; font-weight: 700; color: var(--white); background: var(--ink);
  border-radius: 0; padding: 8px 16px; text-decoration: none;
}
.topbar .play-cta:hover { background: var(--ink-2) }

main.page { max-width: 720px; margin: 0 auto; padding: 8px 20px 48px }
.kicker { font-family: var(--font-label); font-size: 11.5px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--brass-2) }
h1 { font-family: var(--font-display); font-weight: 400; letter-spacing: .004em; font-size: 34px; line-height: 1.04; margin: 6px 0 10px }
h2 { font-family: var(--font-display); font-weight: 400; font-size: 23px; margin: 30px 0 8px }
.byline { font-size: 13px; color: var(--muted); margin: 0 0 22px }
p, li { font-size: 15.5px; color: var(--ink-2) }
a { color: var(--brass-2) }
a:hover { color: var(--brass) }
ul, ol { padding-left: 22px }
li { margin: 6px 0 }
strong { color: var(--ink) }

.summary {
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--brass);
  border-radius: 0; padding: 14px 18px; font-size: 14.5px; color: var(--ink-2); margin: 0 0 8px;
}
.example {
  background: var(--sky-tint); color: var(--ink); border: 3px solid var(--line); border-radius: 0; padding: 18px 22px; margin: 18px 0;
}
.example .who { font-family: var(--font-label); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2) }
.example .who b { color: var(--brass-3); font-weight: 700 }
.example .line { font-family: var(--font-display); font-weight: 400; font-size: 19px; line-height: 1.3; margin: 8px 0 0; color: var(--ink) }
.example .note { font-size: 13px; color: var(--muted); margin: 10px 0 0 }

.cta-game {
  display: flex; gap: 14px; align-items: center; background: var(--white);
  border: 3px solid var(--line); border-radius: 0; padding: 16px 18px; margin: 28px 0 8px; box-shadow: var(--shadow);
}
.cta-game .t { font-weight: 600; font-size: 15px; color: var(--ink) }
.cta-game .d { font-size: 13.5px; color: var(--muted) }
.cta-game .btn {
  margin-left: auto; flex-shrink: 0; font-weight: 600; font-size: 14px; text-decoration: none;
  background: var(--brass); color: #fff; border: 3px solid var(--ink); border-radius: 0; padding: 11px 18px;
}
.cta-game .btn:hover { background: var(--brass-2) }

.cta-notebooks {
  display: flex; gap: 14px; align-items: center; background: var(--ink); color: #ffffff;
  border-radius: 0; padding: 16px 18px; margin: 10px 0;
}
.cta-notebooks .t { font-weight: 600; font-size: 14.5px }
.cta-notebooks .d { font-size: 13px; color: #c3c7d0 }
.cta-notebooks a { color: var(--brass) }

/* Ad slots: markers only — zero height while empty, no ads until AdSense is
   approved. Filling these must never shift article text mid-read. */
.ad-slot { min-height: 0; margin: 0 }
.ad-slot:empty { display: none }

.article-list { list-style: none; padding: 0 }
.article-list li {
  background: var(--white); border: 3px solid var(--line); border-radius: 0;
  padding: 16px 20px; margin: 12px 0;
}
.article-list a { font-weight: 600; font-size: 16.5px; text-decoration: none; color: var(--ink) }
.article-list a:hover { color: var(--brass-2) }
.article-list p { font-size: 14px; color: var(--muted); margin: 6px 0 0 }

.legal h2 { font-size: 19px }
.legal .allcaps { text-transform: none }

footer.site {
  border-top: 1px solid var(--line); margin-top: 24px; background: var(--paper-2);
}
footer.site .inner { max-width: 720px; margin: 0 auto; padding: 22px 20px 30px }
footer.site .links { font-size: 13px; color: var(--muted) }
footer.site .links a { color: var(--ink-2); text-decoration: none; margin-right: 14px }
footer.site .links a:hover { color: var(--brass-2) }
footer.site .kinship { font-size: 12.5px; color: var(--muted); margin-top: 10px }
footer.site .disclaimer { font-size: 11.5px; color: var(--muted); margin-top: 10px; line-height: 1.6 }

@media (max-width: 560px) {
  h1 { font-size: 27px }
  .cta-game { flex-wrap: wrap }
  .cta-game .btn { margin-left: 0 }
}
