/* The studio's frame on the apps' own pages (Miqat, Tiqan, Thaqib and Aan, in both languages): the strip
   above each app's bar, the help line under its closing words, and the studio footer. Each page keeps
   its own palette and type; the strip is the studio's (navy, cream, amber, JetBrains Mono), the footer
   borrows the page's colours. Brand: ~/Developer/lunabit-logo-kit/BRAND.md. */
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/assets/fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2"); }
/* Arabic letters in the strip and footer labels, as on the studio's Arabic pages (site.css). */
@font-face { font-family: "Noto Kufi Arabic"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/assets/fonts/noto-kufi-arabic-arabic-400-normal.woff2") format("woff2");
  unicode-range: U+0020, U+00A0, U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }
@font-face { font-family: "Noto Kufi Arabic"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/assets/fonts/noto-kufi-arabic-arabic-700-normal.woff2") format("woff2");
  unicode-range: U+0020, U+00A0, U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E; }

.lb-strip, .lb-foot h2 { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }
html[lang="ar"] :is(.lb-strip, .lb-foot h2) { font-family: "Noto Kufi Arabic", "JetBrains Mono", ui-monospace, monospace; }

/* The strip: navy with cream in both modes. These pages are dark whatever the mode, and a cream strip
   above their bars read as a banner from somewhere else. */
.lb-strip { position: relative; z-index: 60; background: #0F1526; color: #F3EEDF; font-size: 13px; box-shadow: inset 0 -1px 0 rgba(243, 238, 223, 0.08); }
.lb-strip-inner { max-width: 1160px; margin: 0 auto; padding: 0 26px; height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lb-strip a { color: inherit; text-decoration: none; }
.lb-strip img { height: 17px; width: auto; display: block; }
.lb-strip nav { display: flex; gap: 20px; }
.lb-strip nav a { opacity: 0.78; }
.lb-strip nav a:hover { opacity: 1; text-decoration: underline; text-decoration-color: #F2B544; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lb-strip :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
@media (max-width: 520px) { .lb-strip .lb-wide { display: none; } .lb-strip-inner { padding: 0 20px; } }

/* The footer, in each page's colours. */
.lb-foot { position: relative; z-index: 2; border-top: 1px solid var(--lb-line); background: var(--lb-bg);
  color: var(--lb-muted); font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif; font-size: 15px; line-height: 1.6; }
html[lang="ar"] .lb-foot { font-family: -apple-system, BlinkMacSystemFont, "SF Arabic", "Geeza Pro", "Noto Naskh Arabic", "Segoe UI", Tahoma, sans-serif; line-height: 1.8; }
.lb-foot--miqat { --lb-fg: #F4F6FF; --lb-muted: #AEB7D2; --lb-line: rgba(255, 255, 255, 0.09); --lb-bg: transparent; --lb-accent: #F0B386; }
.lb-foot--tiqan { --lb-fg: #F5F7FB; --lb-muted: #AEB6C6; --lb-line: rgba(255, 255, 255, 0.09); --lb-bg: transparent; --lb-accent: #8FA6FF; }
.lb-foot--thaqib { --lb-fg: #F3F1FF; --lb-muted: #A9A3CC; --lb-line: rgba(255, 255, 255, 0.12); --lb-bg: rgba(16, 12, 52, 0.5); --lb-accent: #FFC83D; }
/* Aan's page follows light and dark mode, in the app's own grays, so its footer does too (the lockup
   on light in light mode: the page sets `lightFoot`). */
.lb-foot--aan { --lb-fg: #1C1C1E; --lb-muted: #6B6B70; --lb-line: rgba(60, 60, 67, 0.16); --lb-bg: #F2F2F7; --lb-accent: #1470AD; }
@media (prefers-color-scheme: dark) { .lb-foot--aan { --lb-fg: #F2F2F7; --lb-muted: #98989D; --lb-line: rgba(235, 235, 245, 0.16); --lb-bg: #1C1C1E; --lb-accent: #1593D1; } }
/* Tiqan's closing card is a box of its own, so its footer keeps a clear gap above. */
.lb-foot--tiqan { margin-top: 70px; }
.lb-foot-inner { max-width: 1160px; margin: 0 auto; padding: 48px 26px 44px; }
.lb-foot-cols { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .lb-foot-cols { grid-template-columns: 1fr 1fr; gap: 30px 20px; } .lb-about { grid-column: 1 / -1; } }
.lb-foot h2 { font-size: 13px; font-weight: 700; letter-spacing: 0; line-height: 1.4; color: var(--lb-fg); margin: 0 0 12px; text-shadow: none; }
.lb-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.lb-foot a { color: color-mix(in srgb, var(--lb-fg) 82%, transparent); text-decoration: none; font-weight: 400; }
.lb-foot a:hover { color: var(--lb-fg); }
.lb-foot a[aria-current="page"] { color: var(--lb-fg); font-weight: 600; }
.lb-foot a[aria-current="page"]::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 1.5px; background: var(--lb-accent); margin-inline-start: 8px; vertical-align: 2px; }
.lb-lockup-img { height: 24px; width: auto; display: block; }
.lb-about p { margin: 14px 0 0; max-width: 28em; }
.lb-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--lb-line); display: flex; justify-content: space-between; align-items: baseline; gap: 6px 28px; flex-wrap: wrap; }
.lb-legal p { margin: 0; font-size: 14px; }
.lb-legal .lb-tm { font-size: 12px; opacity: 0.7; max-width: 62ch; }

/* The help line. A div, so the pages' own `.final p` rules leave it alone. */
.lb-help { display: flex; width: fit-content; max-width: 100%; flex-wrap: wrap; justify-content: center; gap: 4px 8px; margin: 30px auto 0; padding: 10px 18px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.05); font-size: 0.95rem; }
.lb-help span { opacity: 0.8; }
.lb-help a { color: inherit; font-weight: 700; text-decoration: none; }
.lb-help a:hover { text-decoration: underline; }
/* Thaqib's note on managing the subscription, under the help line. */
.final .lb-note { max-width: 34em; margin: 16px auto 0; font-size: 0.9rem; opacity: 0.75; }

/* Phones: Thaqib's Arabic name beside "Thaqib" ran into the language link, so it steps aside. */
@media (max-width: 520px) { .nav .brand span[lang="ar"] { display: none; } }
