@import url("/ui/tokens.css");
/* Liva's own pages: landing, sign-in and the Liva app pages. Liva's look as the other Liva demos use it: white
   header with a thin orange rule, ink text, orange square buttons, light grey grounds, lowercase orange logo. */
:root {
  /* Aliases of the shared tokens (ui/tokens.css), kept for the pages that use these names. */
  --ink: var(--lv-ink);
  --brand: var(--lv-brand);
  --brand-2: var(--lv-brand-hover);
  --blue: var(--lv-blue);
  --tint: var(--lv-brand-soft);
  --ground: var(--lv-ground);
  --line: var(--lv-line);
  --muted: var(--lv-muted);
  --surface: var(--lv-surface);
  --label: var(--lv-label);
  font: 16px/1.55 var(--lv-font);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--lv-bg); min-height: 100vh; -webkit-font-smoothing: antialiased; }
a { color: var(--lv-brand-text); }
img { max-width: 100%; }
.wrap { width: min(1160px, calc(100vw - 32px)); margin: 0 auto; }
.top-bar { background: var(--lv-surface); border-bottom: 3px solid var(--lv-brand); }
.top { display: flex; align-items: center; gap: 14px; padding: 12px 0; flex-wrap: wrap; }
.lv-logo { display: inline-flex; line-height: 0; text-decoration: none; }
.lv-logo img { height: 52px; width: auto; }
.lv-for { font-size: 15px; color: var(--muted); border-inline-start: 1px solid var(--line); padding-inline-start: 12px; font-weight: 700; }
.lv-label { display: inline-block; background: var(--label); color: #fff; border-radius: 2px; padding: 3px 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
html[lang="ar"] .lv-label { letter-spacing: 0; font-size: 13px; }
.nav { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.nav a.btn { color: #fff; }
.spacer { flex: 1; }
h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 300; letter-spacing: -.02em; line-height: 1.08; margin: 14px 0; }
html[lang="ar"] h1, html[lang="ar"] h2 { letter-spacing: 0; line-height: 1.3; }
h1 b, h2 b, h3 b { font-weight: 900; }
html[lang="ar"] h1 b, html[lang="ar"] h2 b { font-weight: 700; }
h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 300; letter-spacing: -.01em; margin: 0; line-height: 1.15; }
h3 { font-size: 19px; font-weight: 700; margin: 0; }
.sub { color: var(--blue); font-size: clamp(17px, 2vw, 20px); margin: 0 0 8px; max-width: 40rem; }
.muted { color: var(--muted); font-size: 15px; }
.card { background: var(--surface); border-radius: var(--lv-radius-lg); padding: 26px; box-shadow: var(--lv-shadow); display: grid; gap: 12px; align-content: start; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: var(--lv-radius-btn); min-height: 48px; padding: 0 22px; font: 700 15px inherit; font-family: inherit; text-decoration: none; cursor: pointer; background: var(--brand); color: #fff; white-space: nowrap; }
.btn:hover { background: var(--brand-2); }
.btn.ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--lv-faint); }
.btn.ghost:hover { background: var(--lv-surface-2); }
.btn.small { min-height: 40px; padding: 0 18px; }
.btn[disabled] { opacity: .5; cursor: default; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.field input { font: 400 16px inherit; font-family: inherit; border: 1px solid var(--line); border-radius: var(--lv-radius-sm); padding: 12px 14px; background: var(--surface); color: var(--ink); }
.field input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.error { color: var(--lv-danger); font-size: 14px; margin: 0; }
.foot { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; padding: 28px 0 36px; color: var(--muted); font-size: 14px; }
.foot a { color: var(--muted); text-decoration: none; }
@media (max-width: 720px) {
  .nav a.hide-s { display: none; }
}
/* The language switch: EN | ع */
.lang-switch { border: 0; background: none; font: 700 14px var(--lv-font); color: var(--ink); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; padding: 6px 4px; }
.lang-switch span { color: var(--muted); }
.lang-switch span.on { color: var(--lv-brand-text); }
.lang-switch i { font-style: normal; color: var(--line); }
.lang-switch span:last-child { font-family: var(--lv-font-ar); font-size: 16px; }
