* {
  box-sizing: border-box;
}

html {
  font-family: var(--bdl-font-family);
}

body {
  margin: 0;
  background: var(--bdl-color-bg);
  color: var(--bdl-color-text);
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  margin: 0 0 var(--bdl-space-2);
}

h2 {
  margin-top: 0;
}

p {
  line-height: 1.5;
}

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

button,
.button {
  min-height: 40px;
  padding:
    var(--bdl-space-2)
    var(--bdl-space-3);

  border:
    1px solid
    var(--bdl-color-primary);

  border-radius:
    var(--bdl-radius-sm);

  background:
    var(--bdl-color-primary);

  color:
    var(--bdl-color-primary-text);

  cursor: pointer;
}

button:disabled,
.button:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.muted {
  color: var(--bdl-color-muted);
}

.stack {
  display: grid;
  gap: var(--bdl-space-4);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--bdl-space-3);
}

.cluster-between {
  justify-content: space-between;
}

.max-620 {
  max-width: 620px;
}

.max-760 {
  max-width: 760px;
}

.max-800 {
  max-width: 800px;
}

.center-block {
  margin-left: auto;
  margin-right: auto;
}

.mt-3 {
  margin-top: var(--bdl-space-3);
}

.mt-4 {
  margin-top: var(--bdl-space-4);
}

.mt-5 {
  margin-top: var(--bdl-space-5);
}

.mb-4 {
  margin-bottom: var(--bdl-space-4);
}

.mb-5 {
  margin-bottom: var(--bdl-space-5);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
