:root {
  color-scheme: light;
  --ink: #050505;
  --paper: #ffffff;
  --muted: #666666;
  --line: #d8d8d8;
}

* {
  box-sizing: border-box;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  width: min(620px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 40px 22px;
  display: flex;
  flex-direction: column;
}

.masthead {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}

.eyebrow,
h1,
h2,
p,
ul {
  margin: 0;
}

.eyebrow {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 8px;
}

h1 {
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.statement {
  margin-top: 92px;
  max-width: 54ch;
  font-size: 18px;
  line-height: 1.45;
}

.interests {
  margin-top: 72px;
}

.interests h2 {
  padding-bottom: 11px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
}

.interests ul {
  padding: 0;
  list-style: none;
}

.interests li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

footer {
  margin-top: auto;
  padding-top: 72px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--muted);
  font-size: 12px;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

a:hover {
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 720px) {
  main {
    width: min(100%, 390px);
    padding: 28px 18px;
  }

  h1 {
    font-size: 30px;
  }

  .statement {
    margin-top: 68px;
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .interests {
    margin-top: 56px;
  }
}
