/* Compass Lite 0.1. Large type. Light page. Laptop and large monitor first. */

:root {
  --ink: #000000;
  --paper: #ffffff;
  --muted: #222222;
  --line: #000000;
  --yellow: #ffe14a;
  --focus: #000000;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  color: var(--ink);
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 2.15rem;
  line-height: 1.35;
  font-weight: 600;
}

body[data-colour="on"] {
  background: var(--yellow);
}

html:has(body[data-colour="on"]) {
  background: var(--yellow);
}

a {
  color: #000000;
  font-weight: 700;
}

a:focus,
button:focus {
  outline: 4px solid var(--focus);
  outline-offset: 4px;
}

.wrap {
  width: min(18em, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}

.logo {
  display: inline-block;
  line-height: 0;
}

.logo img {
  width: 3.25rem;
  height: 3.25rem;
  display: block;
}

h1 {
  font-size: 3.4rem;
  line-height: 1.05;
  font-weight: 800;
  margin: 0.8rem 0 0.6rem;
}

p { margin: 0 0 0.85rem; }

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.2rem 0 1.4rem;
}

button {
  font: inherit;
  font-size: 2rem;
  font-weight: 800;
  color: #000000;
  background: #ffffff;
  border: 4px solid #000000;
  border-radius: 0.4rem;
  padding: 0.7rem 1.1rem;
  min-height: 4.2rem;
  cursor: pointer;
}

button[aria-pressed="true"] {
  background: #000000;
  color: #ffffff;
}

body[data-colour="on"] button {
  background: #ffffff;
}

body[data-colour="on"] button[aria-pressed="true"] {
  background: #000000;
  color: #ffe14a;
}

.note {
  font-size: 1.35rem;
  line-height: 1.4;
  color: #000000;
  font-weight: 600;
}

.live {
  min-height: 1.2em;
}

ol {
  margin: 0.4rem 0 1rem;
  padding-left: 1.4em;
}

li { margin: 0 0 0.85rem; }

footer {
  margin-top: 1.6rem;
  font-size: 1.25rem;
}

@media (max-width: 700px) {
  body { font-size: 1.7rem; }
  h1 { font-size: 2.6rem; }
  button { font-size: 1.6rem; width: 100%; }
  .wrap { width: min(100% - 1.5rem, 22em); }
}
