:root {
  color-scheme: light dark;
  --mat-sys-primary: #a1813f;
  --mat-sys-surface: #fffbfe;
  --mat-sys-on-surface: #302d28;
  --mat-sys-on-surface-variant: #4f4c46;
  --mat-sys-body-medium-font: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--mat-sys-surface);
  color: var(--mat-sys-on-surface);
  font-family: var(--mat-sys-body-medium-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

main {
  position: relative;
  width: min(94vw, 110rem);
}

.brand {
  position: absolute;
  left: 50%;
  bottom: calc(100% + clamp(34px, 5vh, 72px));
  transform: translateX(-50%);
  margin: 0;
  white-space: nowrap;
  font-size: clamp(14px, 1.15vw, 20px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: lowercase;
  opacity: .72;
}

footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: max(14px, env(safe-area-inset-bottom));
  text-align: center;
}

  footer small {
    font-size: 10px;
    letter-spacing: .06em;
    opacity: .36;
  }

  footer a {
    text-decoration: none;
    color: inherit;
  }

@media (prefers-color-scheme: dark) {
  :root {
    --mat-sys-primary: #b39761;
    --mat-sys-surface: #1c1b1f;
    --mat-sys-on-surface: #d9d5cc;
    --mat-sys-on-surface-variant: #69665f;
  }
}
