/* Open Michael — minimal static site styles.
   No external assets. System fonts. Mobile-first. Dark-mode aware. */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: #1a1a1a;
  background: #f9fafb;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.brand a {
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.brand .mark {
  font-size: 22px;
}

.tagline {
  margin: 0 0 36px;
  color: #6b7280;
  font-size: 15px;
  font-style: italic;
}

h1 {
  margin: 0 0 12px;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  margin: 36px 0 12px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  margin: 24px 0 8px;
  font-size: 17px;
  font-weight: 700;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

a {
  color: #6366f1;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: #4f46e5;
}

code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas,
    monospace;
  font-size: 0.92em;
  background: #eef2ff;
  border-radius: 4px;
  padding: 1px 5px;
}

.note {
  background: #fffbeb;
  border-left: 3px solid #f59e0b;
  padding: 12px 14px;
  margin: 0 0 18px;
  font-size: 15px;
  color: #92400e;
  border-radius: 4px;
}

.muted {
  color: #6b7280;
  font-size: 14px;
}

.foot {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  font-size: 14px;
  color: #6b7280;
}

.foot a {
  color: inherit;
}

/* Homepage hero */
.hero {
  padding: 24px 0 8px;
}

.hero .tag {
  margin: 4px 0 24px;
  font-size: 18px;
  color: #4b5563;
}

.coming {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 14px;
  background: #111827;
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (prefers-color-scheme: dark) {
  body {
    color: #e5e7eb;
    background: #0b0b10;
  }
  .tagline,
  .hero .tag,
  .muted,
  .foot {
    color: #9ca3af;
  }
  h1,
  .brand a {
    color: #f9fafb;
  }
  a {
    color: #a5b4fc;
  }
  a:hover {
    color: #c7d2fe;
  }
  code {
    background: #1f2937;
    color: #e5e7eb;
  }
  .note {
    background: #2a1f06;
    border-left-color: #d97706;
    color: #fde68a;
  }
  .foot {
    border-top-color: #1f2937;
  }
  .coming {
    background: #f9fafb;
    color: #0b0b10;
  }
}
