:root {
  --background: hsl(240, 4%, 95%);
  --foreground: hsl(240, 5%, 10%);
  --card: hsl(0, 0%, 98%);
  --card-foreground: hsl(240, 5%, 10%);
  --primary: hsl(258, 89%, 66%);
  --primary-foreground: hsl(250, 100%, 97%);
  --muted: hsl(240, 4%, 83%);
  --muted-foreground: hsl(240, 4%, 46%);
  --destructive: hsl(0, 72%, 50%);
  --border: hsl(240, 4%, 83%);
  --radius: 0.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-sm {
  height: 2rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
}

.btn-lg {
  height: 2.75rem;
  padding: 0 2rem;
  font-size: 1.125rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
}

.btn-primary:hover {
  background-color: hsl(258, 89%, 58%);
}

.btn-outline {
  background-color: hsl(240, 4%, 93%);
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--muted);
}


/* FOUC prevention for web components */
lab-header:not(:defined) {
  display: block;
  min-height: 3.5rem;
  border-bottom: 1px solid var(--border);
  background-color: rgba(242, 242, 243, 0.95);
}

lab-footer:not(:defined) {
  display: block;
  min-height: 6rem;
  border-top: 1px solid var(--border);
}

lab-hero:not(:defined),
lab-cta:not(:defined),
lab-faq-item:not(:defined) {
  display: block;
}
