/* Tiaar marketing site — brand register: Tiaar Red on Cream (guidelines §2).
   Arabic-first; all spacing/positioning via logical properties for RTL parity. */

:root {
  --red: #C7000B;
  --crimson: #A9040D;
  --cream: #FBF0E3;
  --cream-deep: #F6E7D3;
  --ink: #1A1A46;
  --ink-soft: #4A4A6A;
  --hairline: rgba(26, 26, 70, 0.14);
  --measure: 44rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'IBM Plex Sans', 'Cairo', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

html[lang='ar'] body { font-family: 'Cairo', 'IBM Plex Sans', system-ui, sans-serif; }

a { color: inherit; }

/* ── shell ──────────────────────────────────────────────────────────────── */

.shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 5vw, 3rem);
}

.topbar .logo { display: inline-flex; }
.topbar .logo img { height: 2rem; width: auto; }

.lang {
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  transition: color 150ms ease-out, border-color 150ms ease-out;
}
.lang:hover { color: var(--red); border-color: var(--red); }
.lang:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.footer {
  margin-top: auto;
  border-top: 1px solid var(--hairline);
  padding: 1.25rem clamp(1.25rem, 5vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

.footer a {
  text-decoration: none;
  text-underline-offset: 4px;
}
.footer a:hover { text-decoration: underline; color: var(--ink); }
.footer a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* ── coming soon ────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3rem, 10vh, 6rem) 1.5rem 8rem;
  overflow: hidden;
}

/* Oversized speed mark as a quiet ground element — the one crafted moment. */
.hero .ground {
  position: absolute;
  inset-inline-end: -8%;
  bottom: -14%;
  width: min(60vw, 34rem);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

.hero h1 {
  font-size: clamp(2.75rem, 8vw, 5rem);
  line-height: 1.15;
  margin: 1.75rem 0 0;
  font-weight: 800;
  color: var(--ink);
}
html[lang='en'] .hero h1 {
  font-family: 'Archivo Black', 'IBM Plex Sans', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero .accent { color: var(--red); }

.hero p {
  max-width: 34rem;
  margin: 1.25rem auto 0;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--ink-soft);
}

.hero .rule {
  width: 3.5rem;
  height: 0.25rem;
  border-radius: 999px;
  background: var(--red);
  margin: 2.25rem auto 0;
}

/* ── long-form pages (privacy / contact) ────────────────────────────────── */

.page {
  width: min(100%, var(--measure));
  margin: 0 auto;
  padding: clamp(2.5rem, 7vh, 5rem) 1.5rem 5rem;
}

.page h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.25rem);
  line-height: 1.25;
  margin: 0;
  font-weight: 800;
}
html[lang='en'] .page h1 {
  font-family: 'Archivo Black', 'IBM Plex Sans', sans-serif;
  font-weight: 400;
}

.page .updated {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.page .lede { margin-top: 1.5rem; }

.page h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 2.5rem 0 0;
}
html[lang='en'] .page h2 { font-size: 1.0625rem; }

.page h2 .num { color: var(--red); margin-inline-end: 0.5rem; font-variant-numeric: tabular-nums; }

.page p { margin: 0.75rem 0 0; color: var(--ink-soft); }

.page ul {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.page ul li {
  position: relative;
  padding-inline-start: 1.375rem;
  margin-top: 0.5rem;
  color: var(--ink-soft);
}
.page ul li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.7em;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: var(--red);
}

.page .closer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}

.page a { color: var(--ink); text-underline-offset: 4px; }
.page a:hover { color: var(--red); }
.page a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* contact channels — hairline rows, not cards */
.channels {
  margin-top: 2rem;
  border: 1px solid var(--hairline);
  border-radius: 0.75rem;
  background: var(--cream-deep);
  overflow: hidden;
}
.channels .row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
}
.channels .row + .row { border-top: 1px solid var(--hairline); }
.channels .row svg { flex: none; color: var(--red); }
.channels .row .label { font-weight: 600; font-size: 0.9375rem; }
.channels .row .value {
  margin: 0.125rem 0 0;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  unicode-bidi: plaintext;
}
.channels .row a { text-decoration: none; }
.channels .row a:hover .value { color: var(--red); }
.channels .row a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.hours { margin-top: 1.25rem; font-size: 0.9375rem; color: var(--ink-soft); }
