:root {
  color-scheme: light dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f6f3;
  color: #24221e;
  --secondary: #615c52;
  --button: #8d5600;
  --button-hover: #724500;
}

body {
  display: grid;
  place-items: center;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
}

main {
  box-sizing: border-box;
  width: min(100%, 530px);
  padding: 32px 24px;
  text-align: center;
}

img { display: block; margin: 0 auto 16px; }
h1 { font-size: clamp(25px, 6vw, 36px); letter-spacing: -.025em; line-height: 1.15; margin: 0; }
p { color: var(--secondary); line-height: 1.55; margin: 12px 0 22px; }

.open:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--button);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.open:hover { background: var(--button-hover); }
.open:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

@media (prefers-color-scheme: dark) {
  :root {
    background: #1c1b18;
    color: #f7f4ec;
    --secondary: #c1baac;
    --button: #945a00;
    --button-hover: #815000;
  }
}
