:root {
  color-scheme: light;
  color: #242025;
  background: #faf8f3;
  font: 1rem/1.6 system-ui, sans-serif;
}

body { margin: 0; }
.wrap { width: min(45rem, calc(100% - 2.5rem)); margin: 0 auto; }
header { border-bottom: 1px solid #dcd5c7; }
header .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; padding: 1rem 0; }
header a { color: inherit; }
.brand { letter-spacing: .16em; font-weight: 750; text-decoration: none; }
main { padding: clamp(2.5rem, 8vw, 5rem) 0 3rem; }
h1, h2 { font: 500 1.65rem/1.15 Georgia, serif; }
h1 { max-width: 20ch; margin: 0 0 1.25rem; font-size: clamp(2.4rem, 7vw, 4.5rem); }
.intro { max-width: 57ch; font-size: 1.125rem; }
.contacts { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; margin: 1.5rem 0 2.5rem; }
.contacts a { display: inline-flex; min-height: 2.75rem; align-items: center; }
.primary { padding: .25rem 1rem; border-radius: .3rem; background: #242025; color: #fff; font-weight: 650; text-decoration: none; }
a { color: #5b3b20; text-underline-offset: .18em; overflow-wrap: anywhere; }
a:focus-visible { outline: 3px solid #915627; outline-offset: 4px; }
.terms { border-block: 1px solid #dcd5c7; padding: 1rem 0; }
.terms h2 { margin-top: 0; }
.terms p:last-of-type { margin-bottom: 0; }
