@font-face {
  font-family: "Departure Mono";
  src: url("/assets/DepartureMono-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root { color-scheme: dark; background: #000; color: #fff; }
* { box-sizing: border-box; border-radius: 0; }
body {
  margin: 0;
  font-family: "Departure Mono", monospace;
  font-size: 14px;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
::selection { background: #fff; color: #000; }
h1, h2, p { margin: 0; }
h1, h2 { font-weight: 400; }
.home {
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 24px;
  padding: 48px 24px 32px;
  text-align: center;
}
.home h1 { font-size: clamp(33px, 8vw, 55px); line-height: 1.2; }
.map-preview { width: min(360px, 100%); margin: 0; }
.map-preview-frame { position: relative; aspect-ratio: 1; overflow: hidden; }
.map-preview-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.home-description { max-width: 530px; color: #bbb; font-size: 14px; text-wrap: pretty; }
.home-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-top: 12px; color: #999; font-size: 11px; }
.button {
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 1px solid #777;
  padding: 12px 16px;
  line-height: 1.5;
  text-decoration: none;
}
.button:hover { background: #fff; color: #000; border-color: #fff; }
.app-store-button { display: flex; justify-content: center; gap: 12px; max-width: 100%; background: #fff; color: #000; border-color: #fff; padding: 14px 22px; }
.apple-pixel-icon { flex: none; }
.app-store-button:hover { background: #000; color: #fff; }
.document { max-width: 760px; margin: 0 auto; padding: 40px 24px 64px; }
.document header { margin: 56px 0 40px; }
.document h1 { font-size: clamp(25px, 5vw, 36px); line-height: 1.4; overflow-wrap: anywhere; }
.date { margin-top: 12px; color: #aaa; font-size: 12px; }
.document section { margin-top: 32px; }
.document h2 { font-size: 16px; line-height: 1.5; margin-bottom: 12px; }
.document p + p { margin-top: 16px; }
.document p { overflow-wrap: anywhere; }
.document footer { display: flex; flex-wrap: wrap; gap: 24px; border-top: 1px solid #444; margin-top: 48px; padding-top: 24px; font-size: 12px; }
@media (max-width: 420px) {
  .home { padding: 24px 20px 28px; gap: 20px; }
  .home-legal { column-gap: 20px; }
  .button { padding: 12px 10px; }
  .document { padding: 24px 20px 48px; }
  .document header { margin-top: 40px; }
}
