:root {
  color-scheme: light;
  font-family: var(--vidvi-font-family-product);
  color: var(--vidvi-color-text);
  background: var(--vidvi-color-background);
  font-size: 100%;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 1.5rem 1rem 3rem;
  overflow-wrap: anywhere;
}

header,
main {
  max-width: 42rem;
  margin-inline: auto;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--vidvi-space-4);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--vidvi-space-4);
}
main {
  margin-block-start: var(--vidvi-space-8);
}

.brand {
  color: var(--vidvi-color-primary);
  font-size: 1.25rem;
  font-weight: 600;
}

h1 {
  font-size: var(--vidvi-font-product-page-title-size);
  line-height: var(--vidvi-font-product-page-title-line-height);
  font-weight: var(--vidvi-font-product-page-title-weight);
}

h2 {
  font-size: var(--vidvi-font-product-section-title-size);
  line-height: var(--vidvi-font-product-section-title-line-height);
  font-weight: var(--vidvi-font-product-section-title-weight);
}

h3 {
  font-size: 1rem;
  font-weight: 600;
}
section {
  margin-block-start: var(--vidvi-space-8);
}
li + li {
  margin-block-start: var(--vidvi-space-2);
}
.meta {
  color: var(--vidvi-color-text-muted);
}

a {
  display: inline-flex;
  align-items: center;
  min-height: var(--vidvi-size-touch-target);
  min-width: var(--vidvi-size-touch-target);
  max-width: 100%;
  color: var(--vidvi-color-primary);
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: var(--vidvi-focus-ring-width) solid var(--vidvi-color-focus-ring);
  outline-offset: var(--vidvi-focus-offset-width);
}

.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
