@import url('https://fonts.googleapis.com/css2?family=Alef:wght@400;700&family=Amiri&family=Bellefair&family=Libre+Caslon+Text&display=swap');

:root {
  /* Mirrors the canonical brand variables in apps/portal/src/index.css. */
  --brand-primary: #064c39;
  --brand-accent: #C5A059;
  --brand-background-light: #FAF7F2;
  --brand-background-dark: #10221d;
  color: var(--brand-primary);
  background: var(--brand-background-light);
  font-family: 'Alef', sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-block-size: 100svh; display: flex; flex-direction: column; }
header, footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-inline: clamp(24px, 6vw, 96px); padding-block: 28px; }
header { border-block-end: 1px solid var(--brand-accent); flex-wrap: wrap; }
a { color: inherit; text-underline-offset: 6px; }
a:hover { color: var(--brand-background-dark); }
a:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 6px; border-radius: 2px; }
::selection { background: var(--brand-primary); color: var(--brand-background-light); }
.wordmark { font-family: 'Libre Caslon Text', serif; font-size: 26px; text-decoration: none; }
.wordmark span { color: var(--brand-accent); }
nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 16px; }
nav a { display: inline-flex; align-items: center; min-block-size: 44px; text-decoration: none; }
nav a[aria-current] { text-decoration: underline; font-weight: 700; }
main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 24px 96px; text-align: center; }
h1 { margin: 0 0 24px; max-inline-size: 100%; font: 400 clamp(48px, 8vw, 96px)/1.15 'Libre Caslon Text', serif; text-wrap: balance; }
:lang(he) h1 { font-family: 'Bellefair', serif; }
:lang(ar) h1 { font-family: 'Amiri', serif; }
p { max-inline-size: 40rem; margin: 0; text-wrap: pretty; }
.description { font-size: clamp(22px, 3vw, 30px); line-height: 1.5; }
.message { margin-block-start: 16px; font-size: 19px; line-height: 1.7; }
footer { border-block-start: 1px solid var(--brand-accent); font-size: 16px; }
footer a { display: inline-flex; align-items: center; min-block-size: 44px; }
@media (max-width: 480px) {
  header { gap: 12px; padding-block: 20px; }
  nav { gap: 8px 18px; }
  main { padding-block: 56px 72px; }
  footer { align-items: flex-start; flex-direction: column; gap: 8px; padding-block: 20px; }
}
