:root {
  color-scheme: light dark;
  font-family: ui-rounded, "Avenir Next", system-ui, sans-serif;
}

body {
  margin: 0;
  color: #392d35;
  background: #fff8ef;
}

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

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #7b3f57;
  font-weight: 800;
  text-decoration: none;
}

.dot {
  width: 1rem;
  height: 1rem;
  margin-right: 1.35rem;
  border: 0.18rem solid currentcolor;
  border-radius: 50%;
  box-shadow: 1.35rem 0 0 -0.18rem #f1a66a;
}

.eyebrow {
  margin-top: 3rem;
  color: #9c5266;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 16ch;
  margin: 0.4rem 0 1.5rem;
  color: #4c3040;
  font-size: clamp(2.35rem, 8vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h2 {
  margin: 2.3rem 0 0.45rem;
  color: #633c4e;
  font-size: 1.3rem;
}

p {
  font-size: 1.05rem;
  line-height: 1.72;
}

.updated {
  color: #765f6a;
  font-size: 0.92rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.5rem;
}

.actions a {
  padding: 0.7rem 1rem;
  color: #7b3f57;
  font-weight: 750;
  text-decoration: none;
  border: 2px solid #7b3f57;
  border-radius: 999px;
}

.actions a:hover,
.actions a:focus-visible {
  color: #fff8ef;
  background: #7b3f57;
  outline-offset: 3px;
}

footer {
  margin-top: 4rem;
  color: #765f6a;
  font-size: 0.85rem;
}

@media (prefers-color-scheme: dark) {
  body {
    color: #f4e8e1;
    background: #231b21;
  }

  h1,
  h2 {
    color: #ffe8d9;
  }

  .mark,
  .eyebrow,
  .actions a {
    color: #f2b58e;
  }

  .actions a {
    border-color: #f2b58e;
  }

  .actions a:hover,
  .actions a:focus-visible {
    color: #231b21;
    background: #f2b58e;
  }

  .updated,
  footer {
    color: #cebcb5;
  }
}
