:root {
  --ivory: #f3f0e9;
  --teal: #073b3a;
  --dark-teal: #062725;
  --orange: #d96c32;
  --text: #17211f;
  --line: rgba(23, 33, 31, .18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: "Geist", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

header {
  border-bottom: 1px solid var(--line);
}

.bar,
main,
footer > div {
  width: min(calc(100% - 40px), 840px);
  margin-inline: auto;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.bar > a:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.bar img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.back {
  font-size: 13px;
  font-weight: 600;
  text-underline-offset: 4px;
}

main {
  padding-block: 88px 110px;
}

h1,
h2 {
  color: var(--dark-teal);
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  margin: 0 0 16px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 1;
}

h2 {
  margin: 52px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}

p {
  max-width: 720px;
  color: rgba(23, 33, 31, .76);
}

.updated {
  margin-bottom: 52px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

main a {
  color: var(--teal);
  font-weight: 600;
  text-underline-offset: 3px;
}

footer {
  padding-block: 30px;
  background: var(--teal);
  color: rgba(243, 240, 233, .78);
  font-size: 13px;
}

footer a {
  color: var(--ivory);
}

@media (max-width: 600px) {
  main {
    padding-block: 62px 80px;
  }

  h1 {
    font-size: 48px;
  }

  .back {
    font-size: 12px;
  }
}
