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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--text-m);
  font-weight: var(--weight-regular);
  line-height: 1.6;
}

h1 {
  font-size: var(--text-l);
  font-weight: var(--weight-bold);
  line-height: 1.3;
  margin: 0 0 var(--space-4);
}

h2 {
  font-size: var(--text-l);
  font-weight: var(--weight-bold);
  line-height: 1.3;
  margin: 0 0 var(--space-3);
}

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

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

a:hover {
  text-decoration: underline;
}

img,
video {
  max-width: 100%;
  display: block;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--space-1);
}

[dir='rtl'] .icon-flip svg {
  transform: scaleX(-1);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.muted {
  color: var(--muted);
  font-size: var(--text-s);
}
