:root {
  color-scheme: light dark;

  --background: #f4f3ef;
  --foreground: #181817;
  --muted: #77766f;
  --border: rgba(20, 20, 20, 0.14);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #121210;
    --foreground: #eeeeea;
    --muted: #96958d;
    --border: rgba(255, 255, 255, 0.14);
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

header {
  padding: 32px 0;
  display: flex;
  align-items: center;
  font-size: 14px;
}

.logo {
  font-weight: 650;
  letter-spacing: -0.02em;
  transition: opacity 160ms ease;
}

.logo:hover {
  opacity: 0.6;
}

.hero {
  margin: auto 0;
  padding: 72px 0;
}

.label {
  margin: 0 0 20px;
  color: var(--muted);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;
  font-size: 13px;
  text-align: center;
}

.identity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.intro {
  max-width: 610px;
  margin: 32px auto 0;
  color: var(--muted);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.links {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;
  font-size: 13px;
}

.links a {
  position: relative;
  padding: 0 28px 12px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  transition:
    color 160ms ease,
    border-color 160ms ease;
}

.links a::after {
  content: "↗";
  position: absolute;
  top: 1px;
  right: 0;
  font-size: 13px;
  opacity: 0.7;
}

.links a:hover {
  color: var(--foreground);
  border-color: var(--foreground);
}

.links span,
.links small {
  display: block;
}

.links span {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: normal;
}

.links small {
  margin-top: 6px;
  color: inherit;
  opacity: 0.75;
  font-size: 13px;
  line-height: 1.5;
}

footer {
  padding: 28px 0 36px;
  display: flex;
  justify-content: center;
}

.social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.social a {
  display: inline-flex;
  color: var(--muted);
  transition: color 160ms ease, opacity 160ms ease;
}

.social a:hover {
  color: var(--foreground);
}

.social svg {
  display: block;
}

@media (max-width: 640px) {
  main {
    width: min(100% - 30px, 880px);
  }

  header {
    padding-top: 24px;
  }

  .hero {
    padding: 50px 0;
  }

  .links {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 44px;
  }
}