:root {
  font: 100%/1.55 system-ui, sans-serif;
  color: #fff0d0;
  background: #15130f;
}

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: linear-gradient(90deg, #140e08f2, #1a140d75), url("/art/mine.jpg") center / cover no-repeat;
}

a { color: #ffe1a6; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #9be6bd; outline-offset: 4px; }
header, main, footer { box-sizing: border-box; width: min(100%, 74rem); margin-inline: auto; padding-inline: clamp(1rem, 6vw, 5rem); }
header { padding-block: 1.25rem; }
header a { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; font: bold 1.3rem Georgia, serif; }
header img { border-radius: .7rem; border: 1px solid #b99459; }
main { display: grid; align-items: center; padding-block: clamp(1.5rem, 7vh, 5rem); }
article { box-sizing: border-box; width: min(100%, 35rem); padding: clamp(1.25rem, 4vw, 2.75rem); background: #20170ef5; border: 1px solid #a47e4f; border-radius: 1rem; box-shadow: 0 1.5rem 4rem #0009; }
h1 { margin: 0 0 .75rem; font: bold clamp(2.25rem, 8vw, 4rem)/1.04 Georgia, serif; letter-spacing: -.025em; }
p { margin: 0 0 1rem; }
.lead { color: #f1daba; font-size: clamp(1.05rem, 3vw, 1.2rem); }
.button { display: inline-block; box-sizing: border-box; min-height: 48px; padding: .8rem 1.2rem; border: 1px solid #f9d6a0; border-radius: .45rem; background: #efc184; color: #24170b; font: 750 1rem/1.4 system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.button:hover { background: #ffda9d; }
.aside, .demo { color: #ead3ac; margin: .85rem 0 0; }
.preview { color: #bce8ce; font-weight: 700; }
details { margin-top: 1.65rem; border-top: 1px solid #9b794d; padding-top: .85rem; }
summary { cursor: pointer; }
details p { color: #e6ceb0; margin: .5rem 0 0; }
footer { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; padding-block: 1.25rem; }

@media (max-width: 28rem) {
  body { background-position: 62% center; }
  .button { width: 100%; text-align: center; }
}
