@font-face {
  font-family: "Red Hat Mono";
  src: url("/app/assets/lib/assets/fonts/RedHatMono-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
* { box-sizing: border-box; }
:root { color-scheme: dark; }
body {
  margin: 0;
  background: #171514;
  color: #f6f1e7;
  font: 1rem/1.55 Arial, Helvetica, sans-serif;
}
#coffee, body::before {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#coffee { object-fit: cover; opacity: 0; }
#coffee[data-playing] { opacity: 1; }
body::before { content: ""; z-index: 1; background: rgb(11 11 12 / 58%); }
main {
  position: relative;
  z-index: 2;
  width: min(100%, 32rem);
  margin-inline: auto;
  min-height: 100vh;
  min-height: 100svh;
  padding: max(2rem, 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));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
}
.hero { margin-block: auto; padding-block: 1.5rem; }
.brand { font: 500 2.1875rem/1.1 "Red Hat Mono", monospace; letter-spacing: .37em; margin: 0 0 1.5rem; }
h1 { margin: 0 0 .75rem; font-size: 2rem; font-weight: 600; line-height: 1.2; }
p { margin: 0; }
.hero > p:last-child { max-width: 26rem; }
.actions { display: grid; gap: .65rem; }
.actions > button, .browser {
  display: block;
  width: 100%;
  border-radius: .75rem;
  border: 1px solid transparent;
  padding: .75rem 1rem;
  min-height: 3rem;
  text-align: center;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
}
.actions > button { background: #f6f1e7; color: #171514; cursor: pointer; }
.browser { color: inherit; background: rgb(11 11 12 / 40%); border-color: rgb(246 241 231 / 55%); }
#install-help { background: #212121; border-radius: .75rem; padding: 1rem; }
#install-help p + p { margin-top: .75rem; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { #coffee { display: none; } }
