

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--lqv3-font-sans);
  font-size: var(--lqv3-fs-2);
  line-height: var(--lqv3-lh-base);
  color: var(--lqv3-text);
  background: var(--lqv3-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--lqv3-font-serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: var(--lqv3-lh-snug);
  margin: 0;
  color: var(--lqv3-text);
}
h1 { font-size: var(--lqv3-fs-7); line-height: var(--lqv3-lh-tight); letter-spacing: -0.025em; }
h2 { font-size: var(--lqv3-fs-6); }
h3 { font-size: var(--lqv3-fs-4); }
h4 { font-size: var(--lqv3-fs-3); font-family: var(--lqv3-font-sans); font-weight: 600; letter-spacing: -0.005em; }

p { margin: 0 0 var(--lqv3-sp-3); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--lqv3-copper-deep);
  text-decoration: none;
  transition: color var(--lqv3-transition);
}
a:hover { color: var(--lqv3-copper); }
a:focus-visible {
  outline: 2px solid var(--lqv3-copper);
  outline-offset: 3px;
  border-radius: 2px;
}

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

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
}

input, select, textarea {
  font: inherit;
  color: inherit;
}

ul { margin: 0; padding: 0; list-style: none; }

[x-cloak] { display: none !important; }

.lqv3-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--lqv3-night);
  color: var(--lqv3-cream);
  padding: 12px 16px;
  border-radius: 0 0 8px 0;
  z-index: 999;
}
.lqv3-skip:focus { left: 0; }

.lqv3-container {
  max-width: var(--lqv3-container);
  margin: 0 auto;
  padding-left: var(--lqv3-sp-5);
  padding-right: var(--lqv3-sp-5);
}
.lqv3-container--narrow {
  max-width: var(--lqv3-container-narrow);
}

@media (min-width: 768px) {
  .lqv3-container {
    padding-left: var(--lqv3-sp-7);
    padding-right: var(--lqv3-sp-7);
  }
}

.lqv3-mono {
  font-family: var(--lqv3-font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
}

.lqv3-muted { color: var(--lqv3-text-mute); }
.lqv3-em { font-style: italic; color: var(--lqv3-copper-deep); }

.lqv3-overline {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lqv3-text-mute);
  font-weight: 600;
}
.lqv3-overline--dark { color: var(--lqv3-text-onnight-dim); }
