:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #173c33;
  background: #f7f7f0;
  line-height: 1.6;
}
* { box-sizing: border-box; }
body { margin: 0; }
header, main, footer { width: min(760px, calc(100% - 48px)); margin-inline: auto; }
header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 28px; border-bottom: 1px solid #d1dbd2; font-size: 14px; }
header a { color: inherit; text-decoration: none; font-weight: 600; }
header a:hover { text-decoration: underline; }
header > span { color: #53685f; }
a:focus-visible, button:focus-visible { outline: 3px solid #267764; outline-offset: 5px; }
main { padding-block: 64px 80px; }
.eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(40px, 7vw, 64px); font-weight: 650; letter-spacing: -.045em; line-height: 1.1; }
.intro { margin-block: 24px 40px; max-width: 480px; font-size: 18px; color: #53685f; }
.demo { padding: 32px; border: 1px solid #d1dbd2; border-radius: 16px; background: #fff; }
h2 { margin: 0; font-size: 16px; font-weight: 600; }
.counter { display: grid; padding-block: 24px 32px; }
#count { font-size: 88px; font-weight: 600; line-height: 1.1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#count-label { margin-top: 8px; font-size: 14px; color: #53685f; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 12px 20px; min-height: 48px; border: 1px solid #173c33; border-radius: 8px; background: #173c33; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
button:hover:not(:disabled) { background: #285748; }
button.secondary { background: #fff; color: #173c33; border-color: #bac9bd; }
button.secondary:hover:not(:disabled) { background: #edf0e7; }
button:disabled { opacity: .5; cursor: default; }
.hint { margin: 24px 0 0; font-size: 13px; color: #53685f; }
footer { padding-block: 24px; border-top: 1px solid #d1dbd2; color: #53685f; font-size: 13px; }
@media (max-width: 540px) {
  header, main, footer { width: calc(100% - 40px); }
  main { padding-block: 48px; }
  .demo { padding: 24px; }
  button { gap: 16px; }
}
