@font-face { font-family: "Apfel Grotezk"; src: url("ApfelGrotezk-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("Aileron-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #F7F4EA;
  --green: #2BE350;
  --ink: #1b1d22;
  --apfel: "Apfel Grotezk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --aileron: "Aileron", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --pad: clamp(24px, 3vw, 80px);
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }

body {
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--apfel);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#mark {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 0 var(--pad) calc(28px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.text {
  margin: 0;
  font-size: calc(1rem + 4px);
  pointer-events: auto;
  cursor: default;
}

.text--mission { font-family: var(--apfel); max-width: 46ch; text-align: left; }
.text--time { font-family: var(--apfel); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

@media (max-width: 640px) {
  .foot { padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
  .text { font-size: calc(0.95rem + 4px); }
}
