/*
 * The site root (Pages/Missing.cshtml): where a form that doesn't exist leads. Self-contained, with the owner app's
 * tokens (design/lugn-theme.md) and system fonts, so it needs nothing from another host.
 */

:root {
  --fm-page: #f3f5f7;
  --fm-surface: #fff;
  --fm-text: #1f2a37;
  --fm-muted: #65717f;
  --fm-border: #e3e8ee;
  --fm-primary: #3457d5;
  --fm-primary-hover: #2d49b8;
  --fm-tint: #e7ecfb;
  --fm-brand: #f48b0c;
  --fm-brand-tint: #fff1d6;
  color-scheme: light;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--fm-page);
  color: var(--fm-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.fm-card {
  width: 100%;
  max-width: 28rem;
  padding: 2.5rem 2rem 2rem;
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgb(31 42 55 / 6%);
  text-align: center;
}

.fm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--fm-brand-tint);
  color: #9a5b00;
}

.fm-card h1 {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
}

.fm-card p {
  margin: 0 0 1.5rem;
  color: var(--fm-muted);
}

.fm-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  background: var(--fm-primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.fm-cta:hover {
  background: var(--fm-primary-hover);
}

.fm-cta:focus-visible {
  outline: 3px solid var(--fm-tint);
  outline-offset: 2px;
}

.fm-logo {
  display: block;
  margin-bottom: 1.5rem;
}

.fm-logo img {
  display: block;
  width: 140px;
  height: auto;
}
