/* The landing page's colours are the web app's tokens (apps/web/src/app/globals.css), light and dark, following the device. */
@font-face { font-family: Heebo; font-weight: 400; font-display: swap; src: url(/fonts/heebo-hebrew-400-normal.woff2) format('woff2'); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: Heebo; font-weight: 700; font-display: swap; src: url(/fonts/heebo-hebrew-700-normal.woff2) format('woff2'); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: Heebo; font-weight: 400; font-display: swap; src: url(/fonts/heebo-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D, U+2026; }
@font-face { font-family: Heebo; font-weight: 700; font-display: swap; src: url(/fonts/heebo-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D, U+2026; }

:root {
  color-scheme: light dark;
  --page: #f9fafb; --surface: #ffffff; --line: #e5e7eb; --fg: #111827; --fg-muted: #374151;
  --primary: #4338ca; --brand: #4338ca; --brand-hover: #3730a3; --on-brand: #ffffff; --fill: #f3f4f6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0b0d14; --surface: #141821; --line: #2a3041; --fg: #eef0f6; --fg-muted: #b4bbca;
    --primary: #a5b0ff; --brand: #4f46e5; --brand-hover: #5a51ea; --on-brand: #ffffff; --fill: #242a38;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--page); color: var(--fg); font: 400 1.0625rem/1.65 Heebo, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; overflow-wrap: anywhere; }
.wrap { width: 100%; max-width: 46rem; margin-inline: auto; padding-inline: 1rem; }
main { flex: 1; padding-block: 1.5rem 3rem; }
a { color: var(--primary); text-underline-offset: 0.2em; }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 0.25rem; }
h1 { margin: 0 0 0.75rem; font-size: clamp(1.75rem, 6vw, 2.5rem); line-height: 1.2; }
h2 { margin: 0 0 0.5rem; font-size: 1.25rem; line-height: 1.3; }
p { margin: 0 0 0.75rem; }
section { margin-block-start: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 0.5rem; top: -4rem; z-index: 10; padding: 0.75rem; background: var(--surface); color: var(--fg); }
.skip:focus { top: 0.5rem; }

.top { background: var(--surface); border-block-end: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.625rem; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.5rem; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.mark { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 0.75rem; color: #fff; background: linear-gradient(135deg, #1e1b4b 0%, #3730a3 55%, #5b21b6 100%); }
.mark svg { width: 1.25rem; height: 1.25rem; }
.lang { display: inline-flex; align-items: center; min-height: 2.5rem; padding-inline: 0.75rem; border-radius: 0.5rem; font-weight: 700; text-decoration: none; }
.lang:hover { background: var(--fill); }

/* The brand band of the web app (ui.hero): white text stays above 7:1 on every part of it, in both themes. */
.hero { margin-block-start: 0; padding: 2rem 1.5rem; border-radius: 1.25rem; color: #fff; background-image:
  radial-gradient(60% 90% at 100% 0%, rgb(167 139 250 / 0.35), transparent 60%),
  radial-gradient(50% 80% at 0% 100%, rgb(56 189 248 / 0.18), transparent 60%),
  linear-gradient(135deg, #1e1b4b 0%, #3730a3 55%, #5b21b6 100%); }
.hero p { max-width: 36rem; font-size: 1.125rem; }
.hero .status { display: inline-block; margin: 0.5rem 0 0; padding: 0.375rem 0.875rem; border-radius: 999px; background: rgb(255 255 255 / 0.16); font-size: 1rem; font-weight: 700; }

.card { padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
dl { margin: 0; }
dl > div { display: grid; grid-template-columns: minmax(8rem, 13rem) 1fr; gap: 0.25rem 1rem; padding-block: 0.625rem; border-block-start: 1px solid var(--line); }
dl > div:first-child { border-block-start: 0; }
dt { color: var(--fg-muted); }
dd { margin: 0; font-weight: 700; }
dd a { display: inline-block; }
@media (max-width: 30rem) { dl > div { grid-template-columns: 1fr; } }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block-start: 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: 0.5rem 1.25rem; border: 1px solid var(--brand); border-radius: 0.75rem; background: var(--brand); color: var(--on-brand); font-weight: 700; text-decoration: none; }
.button:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.button.plain { background: transparent; border-color: var(--primary); color: var(--primary); }
.button.plain:hover { background: var(--fill); }

.bottom { border-block-start: 1px solid var(--line); background: var(--surface); color: var(--fg-muted); font-size: 0.9375rem; }
.bottom p { margin-block: 1.25rem; }
