/* Base reset and variables */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
  color: #0b0c0c;
  background: linear-gradient(180deg, #f7f9fc, #eef2f7);
}

:root {
  --container-width: 1100px;
  --tile-bg: #ffffff;
  --tile-hover: #0a84ff;
  --tile-border: rgba(0,0,0,0.08);
  --text-muted: #4b5563;
  --shadow: 0 4px 18px rgba(0,0,0,0.08);
}

@media (prefers-color-scheme: dark) {
  body { color: #e5e7eb; background: linear-gradient(180deg, #0b1220, #0f172a); }
  :root {
    --tile-bg: #0f172a;
    --tile-hover: #60a5fa;
    --tile-border: rgba(255,255,255,0.08);
    --text-muted: #9ca3af;
    --shadow: 0 4px 18px rgba(0,0,0,0.5);
  }
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header { padding: 48px 0 16px; }
.site-header h1 { margin: 0; font-size: 2rem; }
.subtitle { margin: 6px 0 0; color: var(--text-muted); }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 28px 0 20px;
}

.app-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--tile-border);
  border-radius: 12px;
  background: var(--tile-bg);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.app-tile:hover, .app-tile:focus-visible {
  transform: translateY(-2px);
  border-color: var(--tile-hover);
  outline: none;
}

.app-title { font-weight: 600; }
.app-desc { color: var(--text-muted); font-size: 0.95rem; }

/* Icon styles */
.app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(10, 132, 255, 0.08);
  color: var(--tile-hover);
  margin-bottom: 4px;
}
.app-icon svg { width: 28px; height: 28px; }

.footer-note { color: var(--text-muted); margin: 24px 0 48px; }

.site-footer { border-top: 1px solid var(--tile-border); padding: 16px 0 36px; }
.site-footer small { color: var(--text-muted); }


