:root {
  color-scheme: light;
  font-family: Inter, system-ui, sans-serif;
  color: #183027;
  background: #f2f5ef;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}
main {
  max-width: 920px;
  padding: 40px 24px 64px;
  margin: auto;
}
a {
  color: #285e48;
  text-underline-offset: 4px;
}
.brand {
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
}
.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 48px;
}
h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 16px 0 24px;
  font-weight: 550;
}
.intro {
  font-size: 19px;
  max-width: 700px;
}
section {
  background: white;
  border: 1px solid #d7e1d5;
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
}
h2 {
  font-size: 23px;
  line-height: 1.3;
  margin: 0 0 16px;
}
ol,
ul {
  padding-left: 24px;
}
li {
  margin: 10px 0;
}
code {
  font-size: 0.9em;
  overflow-wrap: anywhere;
}
.note {
  font-size: 14px;
  color: #486052;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}
button {
  font: inherit;
  line-height: 1.4;
  border: 1px solid #285e48;
  border-radius: 8px;
  padding: 12px 16px;
  background: #285e48;
  color: white;
  cursor: pointer;
}
button.secondary {
  color: #285e48;
  background: white;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #c57a28;
  outline-offset: 4px;
}
output {
  display: block;
  background: #f2f5ef;
  border-radius: 8px;
  padding: 16px;
  margin: 20px 0;
}
.counter {
  font-size: 18px;
}
#events {
  overflow-wrap: anywhere;
  font-size: 14px;
}
@media (max-width: 480px) {
  main {
    padding: 24px 16px 40px;
  }
  section {
    padding: 20px;
  }
  button {
    width: 100%;
  }
}
