:root {
  --background: hsl(240 10% 3.9%);
  --foreground: hsl(0 0% 98%);
  --muted: hsl(240 3.7% 15.9%);
  --muted-foreground: hsl(240 5% 64.9%);
  --border: hsl(240 3.7% 15.9%);
  --radius: 0.5rem;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--background) 80%, transparent);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 720px;
  height: 56px;
  margin: 0 auto;
  padding: 0 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--foreground);
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 32px;
  height: 32px;
}

.app-icon {
  display: block;
  width: 128px;
  height: 128px;
  margin: 0 0 24px -12px;
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.nav a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.15s;
}

.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--foreground);
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 16px 96px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-foreground);
}

h1 {
  margin: 16px 0 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h2 {
  margin: 48px 0 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

p {
  margin: 24px 0 0;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.meta {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted-foreground);
}

ul {
  margin: 24px 0 0;
  padding-left: 24px;
  list-style: disc;
}

li + li {
  margin-top: 8px;
}

strong {
  font-weight: 600;
}

a {
  color: var(--foreground);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--muted-foreground);
}

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

.button {
  display: inline-flex;
  align-items: center;
  height: 40px;
  margin-top: 32px;
  padding: 0 16px;
  border-radius: var(--radius);
  background: var(--foreground);
  color: var(--background);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.15s;
}

.button:hover {
  opacity: 0.9;
}

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted-foreground);
}

footer a {
  color: inherit;
}
