:root {
  --olive: #6B705C;
  --olive-dark: #4E5243;
  --sand: #E9E2D0;
  --sand-light: #F7F4EC;
  --terracotta: #B5694B;
  --terracotta-dark: #8E4E35;
  --ink: #2C2E26;
  --muted: #55584A;
  --white: #FFFFFF;
  --serif: Georgia, "Times New Roman", "Noto Naskh Arabic", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  overflow-wrap: anywhere;
}

img, svg, video { max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--olive-dark);
  margin: 0 0 .6em;
}

a { color: var(--terracotta-dark); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  inset-inline-start: 8px;
  top: -60px;
  background: var(--ink);
  color: var(--white);
  padding: .5rem .8rem;
  border-radius: 6px;
  z-index: 100;
}
.skip:focus { top: 8px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--olive);
  color: var(--white);
  width: 100%;
  max-width: 100%;
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem .75rem;
  padding: .6rem 1rem .3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--white);
  text-decoration: none;
  min-width: 0;
}
.brand-mark { color: var(--sand); display: inline-flex; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}
.lang-switch button {
  font: inherit;
  font-size: .8rem;
  padding: .3rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.6);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  min-height: 32px;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--sand);
  color: var(--ink);
  border-color: var(--sand);
}

.main-nav { max-width: 1100px; margin: 0 auto; padding: 0 .5rem .5rem; }
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .15rem .25rem;
}
.main-nav a {
  display: inline-block;
  color: var(--white);
  text-decoration: none;
  font-size: .85rem;
  padding: .35rem .6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a:focus-visible { background: rgba(255,255,255,.15); }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(181,105,75,.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(107,112,92,.22), transparent 50%),
    var(--sand);
  padding: 3.5rem 1.25rem 3rem;
  text-align: center;
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  color: var(--terracotta-dark);
  font-weight: 600;
  margin: 0 0 .75rem;
}
[dir="rtl"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.hero h1 { font-size: clamp(1.8rem, 7vw, 3rem); }
.hero-text { color: var(--muted); font-size: 1.05rem; margin: 0 0 1.75rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 600;
  padding: .75rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  min-height: 44px;
  max-width: 100%;
  text-align: center;
}
.btn-primary { background: var(--terracotta-dark); color: var(--white); }
.btn-primary:hover { background: #7A422C; }
.btn-ghost { border: 2px solid var(--olive-dark); color: var(--olive-dark); }
.btn-slot {
  border: 1px dashed var(--muted);
  background: var(--sand-light);
  color: var(--muted);
  cursor: not-allowed;
  border-radius: var(--radius);
}
.btn-slot small { font-weight: 400; font-size: .8rem; }

/* Sections */
.section { padding: 3.25rem 1.25rem; }
.section-alt { background: var(--sand-light); }
.container { max-width: 960px; margin: 0 auto; }
.section h2 { font-size: clamp(1.5rem, 5.5vw, 2.2rem); }
.lead { color: var(--muted); }

.placeholder-card {
  margin: 1.5rem 0;
  padding: 2rem 1.25rem;
  border-radius: var(--radius);
  background: var(--sand-light);
  border: 1px solid var(--sand);
  text-align: center;
}
.placeholder-card p { margin: .75rem 0 0; color: var(--muted); }

.badge {
  display: inline-block;
  background: var(--sand);
  color: var(--ink);
  font-size: .8rem;
  font-weight: 600;
  padding: .2rem .7rem;
  border-radius: 999px;
}

.feature-slots { display: flex; flex-wrap: wrap; gap: .75rem; }

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.25rem;
  min-width: 0;
}
.info-card h3 { font-size: 1.2rem; }
.info-card p { margin: 0 0 .75rem; }
.label { font-size: .85rem; color: var(--muted); }
.break { word-break: break-all; }

/* Footer */
.site-footer {
  text-align: center;
  font-size: .8rem;
  color: var(--muted);
  padding: 1.25rem 1rem;
  border-top: 1px solid var(--sand);
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--muted); }

/* RTL */
[dir="rtl"] body, html[dir="rtl"] { font-family: var(--sans); }

@media (min-width: 720px) {
  .main-nav a { font-size: .95rem; }
  .brand-name { font-size: 1.2rem; }
  .hero { padding: 5.5rem 2rem 5rem; }
  .section { padding: 4.5rem 2rem; }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
