/* Landing + login pages (v142). Colours come from the logo itself:
   background #161911, cream #efe7d6 (Boar), signal orange #ff8c1a (Score),
   sage #a9b49a (tagline), loden green #3c5a23 (icon square). */
:root { --bg: #161911; --cream: #efe7d6; --orange: #ff8c1a; --sage: #a9b49a; --loden: #3c5a23; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; }
body { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right))
           max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
main { width: 100%; display: flex; flex-direction: column; align-items: center; }

/* ---- landing ---- */
.logo { display: block; width: min(1100px, 100%); height: auto;
  /* the file's dark margin has a faint grain: fade only that empty margin into the page
     (the artwork sits inside x 8–92 %, y 24–72 %, untouched) */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%),
                      linear-gradient(180deg, transparent 0, #000 20%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%),
              linear-gradient(180deg, transparent 0, #000 20%, #000 78%, transparent 100%);
  mask-composite: intersect; }
/* v142b (user): the orange button competed with the orange "Score" — buttons are now
   quiet: an outline in the tagline's sage (landing) / a loden-green fill (login).
   Orange stays the logo's alone. */
.go, button { font: inherit; font-weight: 600; cursor: pointer; border-radius: 6px;
  text-decoration: none; text-align: center; transition: background .15s, border-color .15s, color .15s, transform .1s; }
/* echoes the tagline: small letter-spaced capitals */
.go { margin-top: calc(min(1100px, 100%) * -0.01); padding: 11px 24px;
  font-size: clamp(12px, 1.3vw, 14px); letter-spacing: .2em; text-transform: uppercase;
  background: transparent; color: var(--cream); border: 1px solid rgba(169,180,154,.55); }
.go:hover { background: var(--loden); border-color: var(--loden); }
button { background: var(--loden); color: var(--cream); border: 1px solid #4d7030; letter-spacing: .06em; }
button:hover { background: #47692a; }
.go:active, button:active { transform: translateY(1px); }
.go:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--cream); outline-offset: 2px; }

/* ---- login ---- */
.saubart { display: block; width: clamp(110px, 26vw, 168px); height: auto; border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,.45); }
form { width: min(340px, 100%); margin-top: 26px; display: flex; flex-direction: column; }
label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sage);
  margin: 14px 0 6px; }
input { font: inherit; font-size: 17px; color: var(--cream); background: #0f120b;
  border: 1px solid #3a4230; border-radius: 7px; padding: 12px 13px; }
input:focus { border-color: var(--orange); outline: none; }
button { margin-top: 24px; font-size: 17px; padding: 14px; }
.err { margin: 0 0 4px; padding: 10px 12px; border-radius: 7px; font-size: 14px;
  background: rgba(255,140,26,.12); border: 1px solid rgba(255,140,26,.5); color: #ffb366; }
.back { margin-top: 22px; font-size: 14px; color: var(--sage); text-decoration: none; }
.back:hover { color: var(--cream); }

/* phone landscape: short screen — icon beside nothing, just smaller */
@media (max-height: 480px) and (orientation: landscape) {
  .go { padding: 9px 20px; }
  .saubart { width: 84px; }
  form { margin-top: 10px; }
  label { margin: 8px 0 4px; }
  input { padding: 9px 12px; }
  button { margin-top: 14px; padding: 11px; }
  .back { margin-top: 10px; }
}
