:root {
  --bg: #f4f6f8;
  --card: #fff;
  --text: #1a1a2e;
  --muted: #5c6370;
  --accent: #0039a6;
  --accent-light: #e8eef8;
  --border: #dde2e8;
  --radius: 12px;
  --tap: 48px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100dvh;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

.logo { font-weight: 700; color: var(--accent); text-decoration: none; }
.app-header a { color: var(--accent); text-decoration: none; }

.app-main {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 16px;
}

.hero { text-align: center; padding: 24px 0; }
.eyebrow { font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; }
.hero h1 { font-size: 1.75rem; margin-bottom: 12px; }
.lead { color: var(--muted); margin-bottom: 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-link { background: none; border: none; color: var(--muted); cursor: pointer; }

.hint { text-align: center; margin-top: 32px; font-size: 0.85rem; }
.hint a { color: var(--accent); }
.loading { text-align: center; color: var(--muted); padding: 48px; }

.pwa-banner {
  display: none;
  background: var(--accent);
  color: #fff;
  padding: 12px 16px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.pwa-banner.visible { display: flex; }
