/* Sheepdog — support site.
   Same warm folk-tale palette as the game, so the site and the app feel like
   one thing. Single stylesheet, no build step, no dependencies. */
:root {
  --cream: #f9f4ea;
  --cream-deep: #f0ead9;
  --ink: #34302b;
  --ink-soft: #6b6459;
  --moss: #6f9253;
  --moss-deep: #55743e;
  --clay: #c1503a;
  --rule: rgba(52, 48, 43, 0.12);
  --max: 44rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.65 ui-rounded, "SF Pro Rounded", -apple-system,
    BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

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

header.site {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  border-bottom: 1px solid var(--rule);
  padding: 2.5rem 0 2rem;
}

.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; color: inherit; }
.brand svg { width: 46px; height: 46px; flex: none; }
.brand h1 { margin: 0; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.015em; }
.brand p { margin: 0.15rem 0 0; color: var(--ink-soft); font-size: 0.95rem; }

nav.site { margin-top: 1.6rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
nav.site a {
  color: var(--ink); text-decoration: none; font-size: 0.92rem; font-weight: 600;
  padding: 0.42rem 0.85rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.72); border: 1px solid var(--rule);
}
nav.site a:hover { background: #fff; }
nav.site a[aria-current="page"] { background: var(--moss); color: #fff; border-color: transparent; }

main { padding: 2.4rem 0 3.5rem; }

h2 { font-size: 1.45rem; font-weight: 800; margin: 2.4rem 0 0.7rem; letter-spacing: -0.01em; }
h2:first-child { margin-top: 0; }
h3 { font-size: 1.08rem; font-weight: 700; margin: 1.7rem 0 0.4rem; }
p { margin: 0.7rem 0; }
ul { margin: 0.7rem 0; padding-left: 1.25rem; }
li { margin: 0.35rem 0; }
a { color: var(--moss-deep); }
strong { font-weight: 700; }

.lede { font-size: 1.12rem; color: var(--ink-soft); }
.updated { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.2rem; }

.card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 1.15rem 1.35rem;
  margin: 1.3rem 0;
}
.card h3 { margin-top: 0; }
.card.quiet { background: rgba(255, 255, 255, 0.5); }
.card.flag { border-left: 4px solid var(--clay); }

.faq { border-top: 1px solid var(--rule); padding-top: 1.1rem; margin-top: 1.1rem; }
.faq:first-of-type { border-top: 0; padding-top: 0; }
.faq h3 { margin-top: 0; }

.mail {
  display: inline-block; margin-top: 0.5rem; padding: 0.75rem 1.3rem;
  background: var(--moss); color: #fff; text-decoration: none;
  border-radius: 12px; font-weight: 700;
}
.mail:hover { background: var(--moss-deep); }

table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 700; }

footer.site {
  border-top: 1px solid var(--rule);
  padding: 1.8rem 0 2.6rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}
footer.site a { color: var(--ink-soft); }

@media (prefers-color-scheme: dark) {
  :root {
    --cream: #191714; --cream-deep: #211e1a; --ink: #ece6da; --ink-soft: #a49b8c;
    --rule: rgba(236, 230, 218, 0.14); --moss: #7fa661; --moss-deep: #9dbf80;
  }
  nav.site a { background: rgba(255, 255, 255, 0.06); }
  nav.site a:hover { background: rgba(255, 255, 255, 0.11); }
  .card { background: rgba(255, 255, 255, 0.05); }
  .card.quiet { background: rgba(255, 255, 255, 0.03); }
  .mail { color: #191714; }
}
