:root {
  --page-bg: #f8e8ab;
  --ink: #1d1300;
  --ink-soft: rgba(29, 19, 0, 0.75);
  --line: rgba(29, 19, 0, 0.12);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page-bg);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--page-bg);
}

main {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

a {
  color: inherit;
}

.card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.7);
}

h1,
h2 {
  color: var(--ink);
}

h2 {
  margin-top: 2rem;
  font-size: 1.15rem;
}

p {
  color: var(--ink-soft);
  line-height: 1.75;
}

ul {
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

li {
  line-height: 1.75;
}

.contact-link {
  font-weight: 500;
  text-decoration: underline;
}

.footer-nav {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  width: 100%;
  margin-top: 1.5rem;
  padding: 0 0 0.75rem;
  gap: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1;
}

.footer-link {
  font-weight: 400;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.footer-link:hover,
.footer-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.footer-separator {
  display: inline-block;
  color: rgba(29, 19, 0, 0.4);
  font-weight: 400;
  line-height: 1;
  transform: translateY(-0.02em);
}
