@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}

a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
  margin-bottom: 0.5em;
  text-wrap: balance;
}

main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
}

.title {
  margin-bottom: 0.2em;
}

.byline {
  opacity: 0.87;
  font-style: italic;
}

.weeks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;

  ul {
    li {
      margin-left: 2rem;
    }
  }
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}

input,
select {
  font: inherit;
}

option {
  padding: 0.1rem 0.25rem;
  font-size: 0.95rem;
}

.note {
  margin-top: 0.5rem;
  max-width: 60ch;
  text-wrap: pretty;
}
