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

:root {
  --bg: #f8f9fa;
  --surface: #ffffff;
  --border: #e9ecef;
  --text: #212529;
  --text-muted: #6c757d;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --radius: 12px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

/* ── Layout ── */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Header ── */
header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
header .container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.logo span { color: var(--accent); }
.breadcrumb {
  margin-left: auto;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); text-decoration: none; }

/* ── Hero ── */
.hero {
  padding: 3rem 0 2rem;
  text-align: center;
}
.hero h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}
.hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ── App grid (hub) ── */
.apps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1rem 0 3rem;
}
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: box-shadow 0.15s, border-color 0.15s;
  cursor: pointer;
}
.app-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(37,99,235,0.1);
  text-decoration: none;
}
.app-card .icon {
  font-size: 2.5rem;
  line-height: 1;
}
.app-card .name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.app-card .cta {
  font-size: 0.8rem;
  color: var(--accent);
}

/* ── Policy page ── */
.policy {
  padding: 2.5rem 0 4rem;
}
.policy h1 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}
.policy .meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.policy h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 2rem 0 0.5rem;
  color: var(--text);
}
.policy p { margin-bottom: 0.75rem; color: var(--text); }
.policy ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}
.policy ul li { margin-bottom: 0.3rem; }

/* ── Footer ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}
footer a { color: var(--text-muted); }
footer a:hover { color: var(--accent); text-decoration: none; }
