*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.lm-body {
  margin: 0;
  font-family: var(--lm-font);
  font-size: var(--lm-fs-md);
  line-height: var(--lm-lh);
  color: var(--lm-text);
  background: var(--lm-bg);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--lm-primary);
  text-decoration: none;
}

a:hover {
  color: var(--lm-primary-hover);
}

:focus-visible {
  outline: none;
  box-shadow: var(--lm-focus);
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  line-height: var(--lm-lh-tight);
  margin: 0 0 var(--lm-space-3);
}

h1 {
  font-size: var(--lm-fs-3xl);
}

h2 {
  font-size: var(--lm-fs-2xl);
}

h3 {
  font-size: var(--lm-fs-xl);
}

p {
  margin: 0 0 var(--lm-space-4);
}

.lm-skip {
  position: absolute;
  left: var(--lm-space-4);
  top: -100px;
  background: var(--lm-primary);
  color: var(--lm-text-on-primary);
  padding: var(--lm-space-2) var(--lm-space-4);
  border-radius: var(--lm-radius-sm);
  z-index: 100;
}

.lm-skip:focus {
  top: var(--lm-space-4);
  color: var(--lm-text-on-primary);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
