/* The website: the logo and a few lines, white on black, in the middle of the screen. The
   system's own font: nothing is fetched but this file, the logo and the icons. */

:root { color-scheme: dark; }
* { box-sizing: border-box; }

html {
  height: 100%;
  background: #000;
  color: #fff;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  /* Clear of a phone's notch and home indicator. */
  padding:
    max(1.5rem, env(safe-area-inset-top))
    max(1.5rem, env(safe-area-inset-right))
    max(1.5rem, env(safe-area-inset-bottom))
    max(1.5rem, env(safe-area-inset-left));
  font: 400 1rem/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  text-align: center;
}

main { width: 100%; max-width: 40rem; }

/* As wide as fits, and no taller than a phone held sideways leaves room for (the logo is 2.46:1). */
h1 { width: min(34rem, 100%, 110vh); width: min(34rem, 100%, 110svh); margin: 0 auto; }
h1 img { display: block; width: 100%; height: auto; }
h1 a { display: block; }

.lines {
  display: grid;
  gap: .5rem;
  margin-top: clamp(1rem, 4vw, 2rem);
  font-size: clamp(1rem, 2.4vw, 1.125rem);
  color: rgba(255, 255, 255, .72);
}
.lines p { margin: 0; text-wrap: balance; }
.lines .lead {
  color: #fff;
  font-size: clamp(1.375rem, 4vw, 1.875rem);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.01em;
}

a { color: #fff; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 4px; }
