/* Omer placeholder page. Same palette as the main site; AA contrast in both themes. */

:root {
  --bg: #f8fafc;
  --text: #0f172a;
  --heading: #312e81;
  --accent: #4338ca;
  --focus: #c2410c;
  --hero-bg: linear-gradient(135deg, #e0e7ff 0%, #ccfbf1 100%);
  --hero-text: #1e1b4b;
  --hero-muted: #3730a3;
  --band-bg: #1e1b4b;
  --band-text: #e0e7ff;
  --band-muted: #c7d2fe;
  --notice-bg: #fef3c7;
  --notice-text: #78350f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120;
    --text: #e2e8f0;
    --heading: #c7d2fe;
    --accent: #a5b4fc;
    --focus: #fbbf24;
    --hero-bg: linear-gradient(135deg, #1e1b4b 0%, #134e4a 100%);
    --hero-text: #e0e7ff;
    --hero-muted: #c7d2fe;
    --band-bg: #020617;
    --notice-bg: #422006;
    --notice-text: #fde68a;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-block-size: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, "Segoe UI", Arial, "Noto Sans Hebrew", sans-serif;
  line-height: 1.6;
}

main,
footer > * {
  inline-size: 100%;
  max-inline-size: 40rem;
  margin-inline: auto;
}

main {
  flex: 1;
  padding: 2rem 1rem;
}

main:focus {
  outline: none;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}

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

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  inset-block-start: -10rem;
  padding: 0.5rem 1rem;
  background: #fbbf24;
  color: #1e1b4b;
  font-weight: 700;
}

.skip-link:focus {
  inset-block-start: 1rem;
}

.hero {
  margin-block-end: 1.5rem;
  padding: 2rem 1.5rem;
  background: var(--hero-bg);
  border-radius: 0.75rem;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: 2.5rem;
  color: var(--hero-text);
}

.eyebrow {
  margin: 0;
  font-weight: 700;
  color: var(--hero-muted);
}

.lead {
  margin: 0.5rem 0 0;
  font-size: 1.2rem;
  color: var(--hero-muted);
}

.notice {
  padding: 0.75rem 1rem;
  background: var(--notice-bg);
  color: var(--notice-text);
  border-radius: 0.75rem;
}

footer {
  --focus: #fbbf24;
  padding: 1.5rem 1rem;
  background: var(--band-bg);
  color: var(--band-muted);
  font-size: 0.9rem;
}

footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

footer a {
  color: var(--band-text);
}

/* Pushed to the far end of the line (left in RTL) */
footer .copyright {
  margin-inline-start: auto;
}

footer p {
  margin-block: 0.5rem 0;
}