/* Warlines — shared styles for the legal/support site.
   Warm "flat playful medieval" palette to match the game. */

:root {
  --sand:     #e7dcc0;
  --sand-2:   #efe6cf;
  --cream:    #f7f0de;
  --ink:      #372c20;
  --ink-soft: #6c5d49;
  --gold:     #e2a833;
  --gold-dark:#b9871a;
  --blue:     #3e6fb0;
  --red:      #c0453a;
  --brown:    #5a4632;
  --line:     rgba(55, 44, 32, .16);
  --shadow:   0 2px 0 rgba(55,44,32,.16), 0 12px 30px rgba(55,44,32,.10);
  --radius:   16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Baloo 2", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.7;
  font-size: 17px;
}

a { color: var(--gold-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 820px; margin: 0 auto; padding: 0 20px; }

/* ---- Header / brand ---- */
header.site { padding: 44px 20px 6px; text-align: center; }
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.logo { width: 92px; height: auto; filter: drop-shadow(0 4px 10px rgba(55,44,32,.18)); }
.wordmark {
  font-family: "Grenze Gotisch", serif;
  font-weight: 700;
  font-size: clamp(40px, 9vw, 66px);
  line-height: .95;
  margin: 8px 0 0;
  color: var(--ink);
  letter-spacing: .5px;
}
.tagline {
  margin: 2px 0 0;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: 12.5px;
  color: var(--ink-soft);
  font-weight: 600;
}

nav.site {
  display: flex; justify-content: center; gap: 6px; flex-wrap: wrap;
  margin: 22px 0 6px;
}
nav.site a {
  padding: 8px 18px; border-radius: 999px; font-weight: 600; color: var(--ink);
}
nav.site a:hover { text-decoration: none; background: var(--sand-2); }
nav.site a.active { background: var(--cream); box-shadow: var(--shadow); }

/* ---- Main ---- */
main { padding: 24px 0 32px; }

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px clamp(20px, 5vw, 42px);
}

/* ---- Landing hero ---- */
.hero { text-align: center; }
.hero .lead { font-size: 19px; color: var(--ink-soft); max-width: 54ch; margin: 0 auto 24px; }
.actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 4px; }
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 14px; font-weight: 700;
  border: 2px solid rgba(55,44,32,.75); box-shadow: var(--shadow); cursor: pointer;
  transition: transform .08s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #3a2c12; }
.btn-cream { background: var(--cream); color: var(--ink); }

.pillrow { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 26px 0 4px; }
.pill {
  background: var(--sand-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 14px; font-weight: 600; color: var(--brown);
}

/* ---- Legal document ---- */
.doc h1 {
  font-family: "Grenze Gotisch", serif; font-weight: 700;
  font-size: clamp(34px, 7vw, 46px); margin: 0 0 2px; color: var(--ink);
}
.doc .updated { color: var(--ink-soft); font-size: 14px; margin: 0 0 22px; }
.doc h2 {
  font-family: "Grenze Gotisch", serif; font-weight: 600;
  font-size: 25px; margin: 32px 0 8px; color: var(--brown);
}
.doc h3 { font-size: 18px; margin: 22px 0 4px; }
.doc p, .doc li { color: #453728; }
.doc ul { padding-left: 1.2em; margin: 8px 0; }
.doc li { margin: 5px 0; }
.doc a { word-break: break-word; }

/* Fill-in placeholders — replace before publishing. */
.ph { color: var(--gold-dark); border-bottom: 1px dashed var(--gold-dark); font-weight: 600; }

.note {
  background: var(--sand-2); border-left: 4px solid var(--gold);
  border-radius: 10px; padding: 14px 16px; margin: 22px 0; font-size: 15px; color: var(--ink-soft);
}

/* ---- Footer ---- */
footer.site {
  border-top: 1px solid var(--line);
  margin-top: 26px; padding: 26px 20px 52px; text-align: center;
  color: var(--ink-soft); font-size: 14px;
}
footer.site .links { margin-bottom: 8px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
footer.site a { color: var(--ink-soft); font-weight: 600; }
