@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #fafafa;
  --fg: #1a1a1a;
  --muted: #666;
  --border: #e0e0e0;
  --accent: #0066cc;
  --accent-hover: #0052a3;
  --card-bg: #fff;
  --radius: 8px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111;
    --fg: #e8e8e8;
    --muted: #999;
    --border: #2a2a2a;
    --accent: #4d9fff;
    --accent-hover: #3d8cf0;
    --card-bg: #1a1a1a;
  }
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Sofia Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

/* Site nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.85rem;
}
.site-nav .home {
  font-weight: 600;
  color: var(--fg);
  margin-right: auto;
}
.site-nav .home:hover { text-decoration: none; color: var(--accent); }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
}
.site-nav a:hover { color: var(--fg); text-decoration: none; }
.site-nav a[aria-current="page"] {
  color: var(--fg);
  font-weight: 600;
}

.container { max-width: 720px; margin: 0 auto; padding: 1rem 1.5rem 3rem; }
.back { display: inline-block; margin-bottom: 2rem; font-size: 0.9rem; color: var(--muted); }
.back:hover { color: var(--fg); text-decoration: none; }
.app-header { margin-bottom: 2rem; }
.app-header h1 { font-size: 2rem; font-weight: 700; margin-bottom: 0.25rem; }
.app-header .tagline { color: var(--muted); font-size: 1.1rem; }
.app-card { display: block; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; background: var(--card-bg); color: inherit; text-decoration: none; }
.app-card:hover { border-color: var(--accent); text-decoration: none; }
.app-card h2 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.app-card .desc { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.5rem; }
.app-card .link { display: inline-block; margin-top: 0.5rem; font-size: 0.9rem; color: var(--accent); }
.section { margin-bottom: 2rem; }
.section h2 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.75rem; }
.section p, .section li { font-size: 0.95rem; margin-bottom: 0.5rem; }
.section ul { padding-left: 1.25rem; }
.section ul li { margin-bottom: 0.4rem; }
footer { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.8rem; }
