:root {
  color-scheme: light dark;
  --sky: #dcebf3;
  --ink: #243f4d;
  --line: rgba(36, 63, 77, .35);
  --landscape: url('/leman-day-v2.svg');
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: grid;
  place-items: center;
  background: var(--sky);
  color: var(--ink);
}

.landscape {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background-image: var(--landscape);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

main { position: relative; z-index: 1; padding: 2rem; }
nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
a {
  display: inline-flex;
  align-items: center;
  padding: .45rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  font-size: 1rem;
  text-decoration: none;
}
a:hover { border-color: currentColor; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

@media (prefers-color-scheme: dark) {
  :root {
    --sky: #182b3b;
    --ink: #e7f2f4;
    --line: rgba(231, 242, 244, .4);
    --landscape: url('/leman-night-v2.svg');
  }
}

@media (pointer: coarse) { a { min-height: 44px; } }

@media (forced-colors: active) {
  .landscape { display: none; }
  a { border-color: LinkText; }
}
