:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: oklch(98% 0 0);
  --text: oklch(18% 0 0);
  --text-muted: oklch(52% 0 0);
  --border: oklch(92% 0 0);
  --border-strong: oklch(86% 0 0);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: oklch(92% 0.05 145);
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
  transition: text-decoration-color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: 4px;
}

.page {
  max-width: 38rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 2.5rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand svg {
  width: 1.5rem;
  height: 1.5rem;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.875rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
}

main {
  flex: 1;
}

.hero {
  padding: 6rem 0 4rem;
}

h1 {
  margin: 0;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.muted {
  color: var(--text-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.3125rem 0.75rem 0.3125rem 0.625rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.8125rem;
  text-decoration: none;
}

.badge:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: oklch(62% 0.17 145);
  box-shadow: 0 0 0 3px oklch(62% 0.17 145 / 0.15);
}

section + section {
  margin-top: 3.5rem;
}

.label {
  margin: 0 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.app {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
}

.app img {
  width: 3.5rem;
  height: 3.5rem;
  flex: none;
  border-radius: 0.875rem;
  box-shadow: 0 1px 2px oklch(20% 0.03 50 / 0.15);
}

.app p {
  margin: 0;
}

.app-name {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.app-desc {
  margin-top: 0.125rem !important;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
}

.pill:hover {
  background: var(--surface);
  border-color: var(--text-muted);
}

.text-link {
  margin-left: 0.25rem;
  color: var(--text-muted);
  text-decoration: none;
}

.text-link:hover {
  color: var(--text);
}

.note {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.cta {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: 1.25rem;
}

.cta p {
  margin: 0;
}

.cta-title {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cta-text {
  margin-top: 0.25rem !important;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.button {
  display: inline-flex;
  align-items: center;
  margin-top: 1.25rem;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  background: var(--text);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.button:hover {
  background: oklch(32% 0 0);
}

.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.person {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.avatar {
  width: 3.5rem;
  height: 3.5rem;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.person p {
  margin: 0;
}

.person-name {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.person-role {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.person-bio {
  margin-top: 0.5rem !important;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.person-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.person-link:hover {
  color: var(--text);
}

footer {
  margin-top: 5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

footer span {
  margin-right: auto;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  color: var(--text);
}

.prose {
  padding-top: 4rem;
}

.prose h1 {
  font-size: 1.75rem;
}

.prose .updated {
  margin: 0.5rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.prose h2 {
  margin: 2.5rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.prose p,
.prose li {
  color: oklch(35% 0 0);
}

.prose ul {
  padding-left: 1.25rem;
}

@media (max-width: 480px) {
  .page {
    padding: 1.5rem 1rem 2rem;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .app {
    padding: 1rem;
    gap: 1rem;
  }

  .app img {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
