:root {
  color-scheme: light;
  --background: #faf8f4;
  --text: #39352e;
  --muted: #686158;
  --accent: #805b27;
}

* { box-sizing: border-box; }

html { min-width: 280px; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 72px;
  text-align: center;
}

.logo {
  display: block;
  width: clamp(200px, 30vw, 270px);
  height: auto;
  margin-bottom: 12px;
}

.message { max-width: 640px; }

.divider {
  display: block;
  width: 40px;
  height: 1px;
  margin: 0 auto 32px;
  background: #bc9c69;
}

h1 {
  max-width: 600px;
  margin: 0 auto 24px;
  font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  max-width: 460px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.85;
}

a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 4px;
  color: var(--accent);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 17px;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}

a:hover { color: var(--text); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 2px; }

@media (max-width: 480px) {
  main { padding: 24px 24px 48px; }
  .logo { margin-bottom: 8px; }
  .divider { margin-bottom: 28px; }
  p { font-size: 15px; }
}
