:root {
  --black: #000000;
  --dark: #0f3d5c;
  --mid: #1ea2a4;
  --light-mid: #60dcc3;
  --light: #caf1e1;
  --pale: #fffaeb;
  --white: #fffef5;

  --fast: 0.25s ease-in-out;
}

*:where(:not(html, iframe, svg, img):not(svg *)) {
  all: unset;
  display: revert;
  overflow: revert;
}

* {
  text-underline-offset: 0.2em;
}

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

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  font-size: 14pt;
  font-family: "IBM Plex Sans", sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

main {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px max(40px, (100% - 1200px) / 2);
  gap: 60px;
  background: var(--white);
}

section:nth-child(odd) {
  background: var(--pale);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.2rem;
}

b,
strong {
  font-weight: 600;
}

i {
  font-style: italic;
}

a {
  cursor: pointer;
  transition: color var(--fast);
}

p {
  max-width: 600px;
  line-height: 2;
  text-align: center;
  text-wrap: balance;
}

p a {
  text-decoration-line: underline;
}

p a:is(:hover, :focus) {
  color: var(--mid);
}

header {
  display: flex;
  position: relative;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  padding: 150px 20px;
  gap: 10px;
  background: var(--light);
  font-weight: 300;
  text-align: center;
}

header > * {
  z-index: 1;
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 40px;
  gap: 30px;
  background: var(--dark);
  color: var(--white);
  text-align: center;
}

footer a:is(:hover, :focus) {
  text-decoration: underline;
}
