:root {
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: 16px;
  display: flex;
  justify-content: center;
}

#app {
  width: 100%;
  max-width: 1100px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  overflow-y: auto;
  padding: 22px 30px 90px;
}

h1 {
  font-size: 44px;
  line-height: 0.95;
  margin: 6px 0 0;
  font-weight: 800;
  letter-spacing: -1px;
}

h2 {
  margin: 4px 0 10px;
  font-size: 26px;
  font-weight: 800;
}

p {
  margin: 0;
}

.muted {
  color: var(--muted);
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
