/* Public entry at /. Colors, type and controls follow organisation.css and auth.css. */

.home-page {
  --home-background: #f8f5f0;
  --home-surface: #fff;
  --home-text: #1f2937;
  --home-muted: #4b5563;
  --home-border: #e5ded4;
  --home-primary: #191919;
  --home-primary-text: #fff;
  --home-focus: #84b8a1;
  box-sizing: border-box;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--home-background);
  color: var(--home-text);
  font-family: Alexandria, sans-serif;
  font-size: 14px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
}

body:has(.home-page) { margin: 0; background: #f8f5f0; }

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

.home-page h1,
.home-page p { margin: 0; }

.home-page a { color: inherit; text-decoration: none; }

.home-page button { font: inherit; }

.home-page :focus-visible {
  outline: 3px solid var(--home-focus);
  outline-offset: 3px;
}

.home-panel {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe center;
  width: 100%;
  padding: 32px 24px 16px;
}

.home-panel-inner {
  width: 400px;
  max-width: 100%;
  text-align: center;
}

.home-logo {
  display: block;
  width: 196px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 28px;
}

.home-status-code {
  margin: 0 0 8px !important;
  color: var(--home-muted);
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.home-panel h1 {
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: -0.8px;
}

.home-lead {
  margin-block-start: 10px !important;
  color: var(--home-muted);
}

.home-actions {
  display: grid;
  gap: 12px;
  margin-block-start: 32px;
}

.home-actions form { margin: 0; }

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid var(--home-border);
  border-radius: 9999px;
  background: var(--home-surface);
  color: var(--home-text);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  cursor: pointer;
}

.home-button:hover { border-color: var(--home-primary); }

.home-button.is-primary {
  border-color: var(--home-primary);
  background: var(--home-primary);
  color: var(--home-primary-text);
}

.home-button.is-primary:hover {
  border-color: #333;
  background: #333;
  color: var(--home-primary-text);
}

.home-footer {
  flex-shrink: 0;
  padding: 16px 24px 28px;
  text-align: center;
  color: var(--home-muted);
  font-size: 11px;
  line-height: 18px;
}
