:root {
  --bg: hsl(315 45% 97%);
  --paper: hsl(0 0% 100%);
  --ink: hsl(315 35% 13%);
  --soft-ink: hsl(315 14% 33%);
  --rule: hsl(315 30% 85%);
  --rule-soft: hsl(315 40% 92%);
  --main: hsl(315 76% 36%);
  --main-hover: hsl(315 76% 27%);
  --plum: hsl(300 55% 40%);
  --rose: hsl(330 76% 50%);
  --deep: hsl(315 60% 16%);
  --tint: hsl(315 76% 95%);
  --leaf: hsl(105 76% 30%);
  --leaf-soft: hsl(105 62% 86%);
  --leaf-light: hsl(105 70% 76%);
  --on-deep: hsl(315 40% 93%);
  --radius: 14px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

h1,
h2,
h3 {
  margin: 0 0 0.6em;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: inherit;
}

h1 {
  font-size: clamp(2rem, 5.2vw, 3.3rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.12rem;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--main);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--main-hover);
}

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

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

address {
  font-style: normal;
}

:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 20;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--main);
  color: var(--paper);
}

.skip:focus {
  left: 1rem;
  color: var(--paper);
}
