:root {
  --color-ink: #1e2732;
  --color-muted: #5d6978;
  --color-primary: #8b1d61;
  --color-primary-dark: #651346;
  --color-accent: #007f99;
  --color-accent-dark: #005d70;
  --color-surface: #ffffff;
  --color-soft: #f4f7f8;
  --color-line: #dce5e8;
  --shadow-soft: 0 18px 55px rgba(24, 41, 52, 0.14);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--color-surface);
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--color-accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

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

h1 {
  font-size: clamp(2.05rem, 8vw, 4.35rem);
  overflow-wrap: anywhere;
}

h2 {
  font-size: clamp(1.7rem, 2.6rem, 3rem);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(100% - 40px, 820px);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  color: #fff;
  background: var(--color-primary);
}

.skip-link:focus {
  top: 12px;
}
