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

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

body {
  margin: 0;
  padding: 3rem 0;
  color: #404040;
  background: #fff;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
p, h1 { margin: 0; }

.layout {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1.5rem;
}

.content {
  font-size: 1.05rem;
  line-height: 1.625;
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.content > * + * { margin-top: 1.5rem; }
.content::after { content: ""; display: table; clear: both; }

.lead { color: #27272a; }

.profile {
  float: right;
  width: 10rem;
  margin: 0 0 1rem 1.5rem;
}

.link {
  text-decoration: underline;
  text-decoration-color: #a3a3a3;
  text-underline-offset: 3px;
  transition: color .15s cubic-bezier(.4,0,.2,1), text-decoration-color .15s cubic-bezier(.4,0,.2,1);
}
.link:hover { color: #000; text-decoration-color: #000; }

.links {
  margin-top: 5rem;
  font-size: 1.125rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  color: #737373;
}

@media (min-width: 640px) {
  body { padding: 6rem 0; }
  .layout { padding: 0 1.5rem; }
  .profile { width: 12rem; margin-left: 2rem; }
}
@media (min-width: 768px) {
  body { padding: 8rem 0; }
}

@media (prefers-color-scheme: dark) {
  body { color: #d4d4d4; background: #0a0a0a; }
  h1 { color: #fff; }
  .lead { color: #e4e4e7; }
  .link { text-decoration-color: #737373; }
  .link:hover { color: #fff; text-decoration-color: #fff; }
}
