/* Colours are the brand's own, as the artwork has them:
   light  - deep green #0B3D2E and pale sage #C9D3C8 (best8-logo-horizontal-on-light.svg)
   dark   - the app icon's #0E1A14 ground and lime #C6F432 (best8-app-icon-1024.svg, ...-on-dark.svg)
   The visitor's device setting chooses; there is no switch. */
:root {
  color-scheme: light dark;
  --ground: #f4f7f2;
  --ink: #0b3d2e;
  --soft: #3d5a4c;
  --button: #0b3d2e;
  --button-ink: #ffffff;
  --rule: #c9d3c8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0e1a14;
    --ink: #eef3ec;
    --soft: #a9b8ad;
    --button: #c6f432;
    --button-ink: #0e1a14;
    --rule: #2a3d33;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--ground);
  color: var(--ink);
  font: 1.125rem/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
main {
  width: 100%;
  max-width: 34rem;
  text-align: center;
}
.logo {
  display: block;
  width: min(100%, 22rem);
  height: auto;
  margin: 0 auto 2rem;
}
.logo img { display: block; width: 100%; height: auto; }
p { margin: 0 0 2rem; color: var(--soft); }
.tagline {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}
.sign-in {
  display: inline-block;
  min-width: 10rem;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  background: var(--button);
  color: var(--button-ink);
  font-weight: 600;
  text-decoration: none;
}
.note {
  margin: 2.5rem 0 0;
  font-size: 0.875rem;
}
.sign-in:hover { filter: brightness(1.08); }
.sign-in:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
