:root {
  color-scheme: light dark;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  color: #18283b;
  background: #f3f6fa;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 2rem;
  place-items: center;
  padding: 2rem 1.25rem;
}

main { width: 100%; max-width: 42rem; }
.domain { color: #526379; letter-spacing: 0.08em; }
h1 { font-size: clamp(2rem, 7vw, 3.5rem); line-height: 1.15; overflow-wrap: anywhere; }
p { max-width: 36rem; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.intro-actions a { margin-top: 0; }
.music { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid currentColor; }
.music h2 { font-size: 1.5rem; line-height: 1.3; }

a, button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.85rem 1.2rem;
  border-radius: 0.5rem;
  color: #fff;
  background: #174d91;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

a:hover, button:hover { background: #103b72; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #a34b00; outline-offset: 5px; }

button { font: inherit; border: 0; cursor: pointer; }
.contact-form { display: grid; gap: 1.25rem; margin-top: 2rem; }
.contact-form label { display: block; margin-bottom: 0.4rem; font-weight: 600; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 0.35rem;
}
.contact-form textarea { resize: vertical; min-height: 10rem; }
.contact-form button { justify-self: start; margin-top: 0; }
#form-info { font-size: 0.9rem; margin: 0; }

@media (prefers-color-scheme: dark) {
  :root { color: #edf3fb; background: #101c2c; }
  .domain { color: #b2c2d7; }
  a, button { background: #245ea8; }
  a:hover, button:hover { background: #2b6ec3; }
  a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline-color: #ffbe73; }
}

.site-footer { width: 100%; max-width: 42rem; text-align: center; font-size: 0.9rem; }
.site-footer a { margin: 0; padding: 0.25rem; color: inherit; background: transparent; }
.site-footer a:hover { text-decoration-thickness: 2px; }
