:root {
  --color-bg: #fafafa;
  --color-fg: #1a1a1a;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --max-width: 720px;
  --radius: 8px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-fg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 1.5rem;
  background: white;
}

.site-title {
  text-decoration: none;
  color: var(--color-fg);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

main {
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

h1 {
  font-weight: 500;
  font-size: 1.75rem;
  margin: 0 0 0.25rem;
  letter-spacing: -0.02em;
}

p.lede {
  color: var(--color-muted);
  margin: 0 0 1.5rem;
}

.app-frame {
  width: 100%;
  min-height: 640px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: white;
  display: block;
}

.app-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.app-list li { margin-bottom: 0.5rem; }

.app-list a {
  display: block;
  padding: 0.875rem 1rem;
  color: var(--color-fg);
  text-decoration: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: white;
  transition: border-color 0.15s ease;
}

.app-list a:hover { border-color: var(--color-fg); }

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 1rem 1.5rem;
  font-size: 0.8rem;
  color: var(--color-muted);
  text-align: center;
}
