/* B5edmtak placeholder - the app's look (frontend: Tailwind orange/stone,
   Bricolage Grotesque + Inter) without a framework. Mobile first. */

:root {
  --brand: #ea580c;        /* orange-600, the app's brand colour */
  --brand-strong: #c2410c; /* orange-700: links and buttons (AA contrast on white) */
  --text: #374151;
  --heading: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #fff;
  --soft: #fff7ed;         /* orange-50 */
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
}

main { flex: 1; }

a { color: var(--brand-strong); }
a:hover { color: var(--brand); }
a:focus-visible { outline: 3px solid rgb(234 88 12 / 0.35); outline-offset: 2px; border-radius: 0.25rem; }

.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }

/* Header - the app's wordmark: font-display text-2xl font-bold tracking-tight */
.site-header { border-bottom: 1px solid var(--border); }
.site-header .wrap { padding-top: 1rem; padding-bottom: 1rem; }
.wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--heading);
  text-decoration: none;
}
.wordmark:hover { color: var(--brand); }

/* Landing */
.hero { max-width: 48rem; padding-top: 3rem; padding-bottom: 2rem; }
.hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--heading);
}
.tagline {
  margin: 0 0 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 3px solid var(--brand);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--heading);
}
.lead { margin: 0 0 1rem; font-size: 1.0625rem; }
.arabic { font-size: 1.125rem; line-height: 1.8; }
.soon { margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.badge {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  background: var(--brand-strong);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}

.contact { max-width: 48rem; padding-bottom: 3rem; }
.contact h2, .legal-page h1 {
  font-family: var(--font-display);
  color: var(--heading);
  letter-spacing: -0.025em;
}
.contact h2 { margin: 0 0 1rem; font-size: 1.25rem; font-weight: 700; }
.contact dl {
  margin: 0;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--soft);
}
.contact dt { font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.contact dd { margin: 0 0 0.875rem; font-weight: 500; overflow-wrap: anywhere; }
.contact dd:last-child { margin-bottom: 0; }

/* Legal pages - LegalDocumentView.vue: max-w-3xl, line-height 1.7 */
.legal-page { max-width: 48rem; padding-top: 2rem; padding-bottom: 3rem; }
.back { margin: 0 0 1.5rem; font-size: 0.875rem; }
.legal-page h1 { margin: 0 0 0.5rem; font-size: 1.875rem; font-weight: 700; line-height: 1.2; }
.version { margin: 0 0 2rem; font-size: 0.875rem; color: var(--muted); }
.legal { line-height: 1.7; overflow-wrap: anywhere; }
.legal h2 { font-size: 1.25rem; font-weight: 700; color: var(--heading); margin: 2rem 0 0.75rem; line-height: 1.35; }
.legal h3 { font-size: 1.0625rem; font-weight: 700; color: var(--heading); margin: 1.5rem 0 0.5rem; }
.legal p { margin: 0 0 1rem; }
.legal ul, .legal ol { padding-left: 1.5rem; margin: 0 0 1rem; }
.legal ul { list-style: disc; }
.legal li { margin: 0.35rem 0; }
.legal strong { color: var(--heading); }
.legal a { text-decoration: underline; }

/* Footer - the app's: border-t, py-8, text-sm gray-500 */
.site-footer { border-top: 1px solid var(--border); padding: 2rem 0; font-size: 0.875rem; color: var(--muted); }
.footer-row { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--brand); }
.site-footer a[aria-current="page"] { color: var(--heading); }

@media (min-width: 768px) {
  .hero { padding-top: 4.5rem; }
  .hero h1 { font-size: 3.25rem; }
  .tagline { font-size: 1.625rem; }
  .footer-row { flex-direction: row; justify-content: space-between; align-items: center; }
  .legal-page { padding-top: 3rem; }
}
