/* Deep-link landing pages (KAN-217).
   Brand tokens mirror src/styles/theme.css (light) with a dark variant. */
:root {
  --background: #f8fafc;
  --foreground: #0f172a;
  --card: #ffffff;
  --muted: #64748b;
  --primary: #2563eb;
  --primary-foreground: #ffffff;
  --border: rgba(15, 23, 42, 0.08);
  --radius: 0.625rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0f172a;
    --foreground: #f8fafc;
    --card: #1e293b;
    --muted: #94a3b8;
    --primary: #3b82f6;
    --border: rgba(248, 250, 252, 0.12);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--background);
  color: var(--foreground);
  font-family: system-ui, -apple-system, "Segoe UI", Arial, "Noto Sans Hebrew", sans-serif;
  line-height: 1.5;
  text-align: center;
}

.card {
  width: 100%;
  max-width: 26rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.75rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.badge {
  display: inline-block;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary);
  border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
  border-radius: 999px;
  padding: 0.15rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.brand img {
  border-radius: 10px;
}

h1 {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

span[lang="en"] {
  display: block;
  color: var(--muted);
  font-size: 0.85em;
  font-weight: 400;
  margin-top: 0.15rem;
}

.lead {
  margin: 0 0 1.5rem;
}

.hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.alt {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 1.5rem 0 0;
}

.alt a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

footer {
  color: var(--muted);
  font-size: 0.8rem;
}

footer a {
  color: inherit;
}
