:root {
  --rose: #E8B4B8;
  --prune: #8E5A6B;
  --prune-dark: #5E3A47;
  --creme: #FAF3EE;
  --white: #FFFFFF;
  --text: #3D2830;
  --muted: #6B5058;
  --radius: 18px;
  --serif: "Didot", "Bodoni MT", "Georgia", "Times New Roman", serif;
  --sans: "Nunito", "Segoe UI", "Helvetica Neue", "Arial", system-ui, sans-serif;
  --arabic: "Geeza Pro", "Noto Naskh Arabic", "Tahoma", "Segoe UI", sans-serif;
}

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

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

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

html[lang="ar"] body { font-family: var(--arabic); line-height: 1.8; }

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--prune-dark);
  line-height: 1.25;
  margin: 0 0 .75rem;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-family: var(--arabic); font-weight: 600; }

h1 { font-size: clamp(1.8rem, 7vw, 3rem); }
h2 { font-size: clamp(1.5rem, 5vw, 2.2rem); text-align: center; margin-bottom: 1.5rem; }
h3 { font-size: 1.25rem; }

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

.container { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute; inset-inline-start: .5rem; top: -3rem;
  background: var(--prune-dark); color: var(--white);
  padding: .5rem 1rem; border-radius: 8px; z-index: 100;
}
.skip-link:focus { top: .5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 243, 238, .96);
  border-bottom: 1px solid rgba(142, 90, 107, .18);
}
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .5rem 1rem; padding-top: .6rem; padding-bottom: .6rem;
}
.brand {
  font-family: var(--serif); font-size: 1.1rem; text-decoration: none;
  color: var(--prune-dark); text-align: center; max-width: 100%;
}

.lang-switch { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem; }
.lang-switch button {
  font: inherit; font-size: .85rem; cursor: pointer;
  border: 1px solid var(--prune); background: transparent; color: var(--prune-dark);
  border-radius: 999px; padding: .2rem .75rem; min-height: 32px;
}
.lang-switch button[aria-pressed="true"] { background: var(--prune); color: var(--white); }

.main-nav { width: 100%; max-width: 100%; }
.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem .4rem;
}
.main-nav a {
  display: inline-block; padding: .35rem .6rem; border-radius: 999px;
  font-size: .9rem; text-decoration: none; color: var(--prune-dark);
  white-space: normal; text-align: center;
}
.main-nav a:hover, .main-nav a:focus-visible { background: var(--rose); }

/* Hero */
.hero {
  text-align: center;
  padding: 4rem 0 3.5rem;
  background: linear-gradient(180deg, var(--rose) 0%, var(--creme) 100%);
}
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; color: var(--prune-dark); margin: 0 0 .5rem; }
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.slogan { font-size: 1.15rem; color: var(--text); margin: 0 auto 2rem; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

/* Buttons */
.btn {
  display: inline-block; font: inherit; text-decoration: none; cursor: pointer;
  padding: .7rem 1.4rem; border-radius: 999px; border: 2px solid var(--prune);
  max-width: 100%; text-align: center;
}
.btn-primary { background: var(--prune); color: var(--white); }
.btn-primary:hover { background: var(--prune-dark); border-color: var(--prune-dark); }
.btn-ghost { background: transparent; color: var(--prune-dark); }
.btn-ghost:hover { background: var(--white); }
.btn[disabled] {
  cursor: not-allowed; background: #E9DDE0; border-color: #CDB8BE; color: var(--muted);
}

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--white); }

.card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.5rem; max-width: 640px; margin: 0 auto; text-align: center;
  box-shadow: 0 4px 20px rgba(142, 90, 107, .08);
  border: 1px solid rgba(232, 180, 184, .5);
}
.section-alt .card { background: var(--creme); }
.card p { margin: 0 0 1rem; }
.card p:last-child { margin-bottom: 0; }
.card-soon { border-style: dashed; border-color: var(--rose); }
.muted { color: var(--muted); }

.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.grid .card { margin: 0; width: 100%; }
@media (min-width: 720px) {
  .grid { grid-template-columns: 1fr 1fr; }
}

.info { margin: 0; }
.info dt { font-weight: 700; color: var(--prune-dark); margin-top: .75rem; }
.info dt:first-child { margin-top: 0; }
.info dd { margin: 0; }
.break { word-break: break-all; }

/* Footer */
.site-footer {
  text-align: center; padding: 1.5rem 1rem; font-size: .8rem;
  color: var(--muted); border-top: 1px solid rgba(142, 90, 107, .15);
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--prune-dark); }

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .main-nav a { font-size: .82rem; padding: .3rem .45rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .section { padding: 2.5rem 0; }
  .card { padding: 1.25rem; }
}

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