/* lebrunji.com — the public pages the app stores link to. The app's palette:
   logo coral, sun yellow, espresso ink, cream. */
:root {
  --coral: #de1d27;
  --sun: #febd2d;
  --ink: #1f1915;
  --muted: #6b625b;
  --cream: #f8f5f0;
  --cream-deep: #f1ebe2;
  --line: #e6ded3;
  --bg: #ffffff;
  --display: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ui: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
:root[lang='ar'] {
  --display: 'Markazi Text', 'IBM Plex Sans Arabic', serif;
  --ui: 'IBM Plex Sans Arabic', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f4efe8;
    --muted: #b7ada3;
    --cream: #26201b;
    --cream-deep: #2f2822;
    --line: #3a322b;
    --bg: #1a1512;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--ui);
  /* The footer sits at the bottom of the window even on a short page. */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
a { color: var(--coral); }

.band { background: var(--sun); color: #1f1915; }
.bar {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { display: flex; align-items: center; }
/* The dashboard's sign-in lockup, on its own white sticker edge. */
.brand img { height: 64px; width: auto; display: block; }
.lang {
  border: 1.5px solid #1f1915;
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: 6px 14px;
  font: 500 14px var(--ui);
  cursor: pointer;
}

main { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 32px 16px 56px; }
h1 { font: 600 34px/1.2 var(--display); margin: 0 0 8px; }
h2 { font: 600 22px/1.3 var(--display); margin: 32px 0 6px; }
.lede { color: var(--muted); margin: 0 0 24px; }
p { margin: 0 0 12px; }
ol, ul { padding-inline-start: 22px; }
li { margin-bottom: 6px; }

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 18px 0;
}
/* The two store links on the home page, one under the other, as plain links. */
.stores { display: grid; gap: 8px; justify-items: start; }
.links { display: grid; gap: 12px; margin-top: 24px; }
[hidden] { display: none !important; }
.links a {
  display: block;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.links a:hover { border-color: var(--coral); }
.skeleton { height: 14px; background: var(--cream-deep); border-radius: 6px; margin: 10px 0; }
.error { color: var(--coral); }

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
footer .bar { flex-wrap: wrap; }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--muted); }

/* One language at a time. */
:root[lang='en'] [lang='ar'],
:root[lang='ar'] [lang='en'] { display: none !important; }
