/* feenda — موقع التطبيق. نفس شكل "الشارع" اللي في التطبيق:
   يافطة سودا، أصفر، ضل أحمر، وورق كريمي. */

:root {
  --yellow: #FFD23F;
  --red: #E63B2E;
  --ink: #111111;
  --cream: #FFF4D6;
  --paper: #FFFBF0;
  --mint: #8FD3B6;
  --muted: #5A5045;
  --line: 3px solid var(--ink);
  --radius: 22px;
  --shadow: 6px 6px 0 var(--ink);
  --wrap: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Alexandria', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  z-index: 50;
  background: var(--ink);
  color: var(--yellow);
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.display {
  font-family: 'Lalezar', 'Alexandria', sans-serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
}

.latin {
  font-family: 'Alexandria', system-ui, sans-serif;
  direction: ltr;
  unicode-bidi: isolate;
}

/* ---------- Shared pieces ---------- */

.plate {
  background: var(--ink);
  color: var(--yellow);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--red);
  position: relative;
}
.plate::before,
.plate::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cream);
  top: 10px;
}
.plate::before { inset-inline-start: 10px; }
.plate::after { inset-inline-end: 10px; }

.card {
  background: #fff;
  border: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border: var(--line);
  border-radius: 16px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); }
.btn-dark { background: var(--ink); color: var(--yellow); box-shadow: 4px 4px 0 var(--red); }
.btn-dark:hover { box-shadow: 6px 6px 0 var(--red); }
.btn-light { background: var(--cream); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-light:hover { box-shadow: 6px 6px 0 var(--ink); }

.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 2px 12px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--yellow);
}

.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 14px;
  color: var(--red);
  margin-bottom: 6px;
}

section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(36px, 5.5vw, 56px); margin: 0 0 10px; }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; }

/* ---------- Header ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--yellow);
  border-bottom: var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 2px solid var(--ink);
}
.brand .names { display: flex; flex-direction: column; line-height: 1.05; }
.brand .ar { font-family: 'Lalezar', sans-serif; font-size: 28px; }
.brand .en { font-size: 13px; font-weight: 700; color: var(--muted); }

.top nav { display: flex; align-items: center; gap: 4px; }
.top nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 10px;
}
.top nav a:hover { background: rgba(17, 17, 17, .08); }
.top nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; margin-inline-start: 8px; }

/* ---------- Hero ---------- */

.hero {
  background: var(--yellow);
  border-bottom: var(--line);
  padding: 56px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* خطوط الأسفلت في الخلفية */
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 14px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 48px, transparent 48px 96px);
  opacity: .9;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(52px, 8.5vw, 104px);
  margin: 0;
}
.hero h1 .mark {
  display: inline-block;
  background: var(--ink);
  color: var(--yellow);
  padding: 0 18px;
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--red);
  transform: rotate(-2deg);
  margin-top: 8px;
}
.hero .lead {
  font-size: clamp(18px, 2.2vw, 21px);
  font-weight: 500;
  max-width: 560px;
  margin: 26px 0 30px;
}
.stores { display: flex; gap: 14px; flex-wrap: wrap; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 8px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  border: var(--line);
  text-decoration: none;
}
.store svg { flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.2; font-weight: 800; font-size: 17px; }
.store small { font-size: 12px; font-weight: 500; color: #CFC6B6; }
.store[aria-disabled='true'] { cursor: default; }
.hero .soon { margin: 14px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); }

/* Phone mockup */
.phone {
  justify-self: center;
  width: min(330px, 86vw);
  aspect-ratio: 9 / 18.5;
  background: var(--ink);
  border-radius: 46px;
  padding: 12px;
  box-shadow: 14px 14px 0 var(--red);
  transform: rotate(3deg);
  position: relative;
}
.phone::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  translate: -50% 0;
  width: 90px;
  height: 22px;
  border-radius: 12px;
  background: var(--ink);
  z-index: 2;
}
.screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.5;
}
.screen .bar {
  background: var(--red);
  color: #fff;
  padding: 48px 16px 14px;
  border-bottom: 3px solid var(--ink);
}
.screen .bar strong { font-family: 'Lalezar', sans-serif; font-size: 24px; font-weight: 400; display: block; line-height: 1.1; }
.screen .search {
  margin-top: 10px;
  background: #fff;
  color: var(--muted);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 6px 10px;
}
.screen .chips { display: flex; gap: 6px; padding: 12px 14px 4px; }
.screen .chips span {
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 1px 10px;
  font-weight: 700;
  background: #fff;
  white-space: nowrap;
}
.screen .chips span.on { background: var(--ink); color: var(--yellow); }
.screen .list { padding: 8px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.mini {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 3px 3px 0 var(--ink);
  padding: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.mini .pic {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  flex: none;
  display: grid;
  place-items: center;
}
.mini .txt { flex: 1; min-width: 0; }
.mini .txt b { display: block; font-size: 13px; }
.mini .txt small { color: var(--muted); }
.mini .off {
  background: var(--red);
  color: #fff;
  font-weight: 800;
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 0 6px;
  white-space: nowrap;
}

/* ---------- Categories strip ---------- */

.cats { padding: 40px 0; background: var(--ink); color: var(--cream); }
.cats .wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.cats .label { font-weight: 700; color: #CFC6B6; }
.cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--cream);
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 700;
}
.cat.live { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.cat small { font-weight: 500; opacity: .75; }

/* ---------- Features ---------- */

.features .grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.feature { padding: 28px; }
.feature .ico {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  border: var(--line);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feature h3 { font-family: 'Lalezar', sans-serif; font-weight: 400; font-size: 30px; margin: 0 0 6px; line-height: 1.2; }
.feature p { margin: 0; color: var(--muted); }

/* ---------- How it works ---------- */

.how { background: var(--cream); border-top: var(--line); border-bottom: var(--line); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.step { padding: 28px; }
.step::before {
  counter-increment: step;
  content: counter(step, arabic-indic);
  font-family: 'Lalezar', sans-serif;
  font-size: 32px;
  line-height: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--yellow);
  border: var(--line);
  margin-bottom: 16px;
}
.step h3 { font-size: 21px; font-weight: 800; margin: 0 0 4px; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Owners ---------- */

.owners { background: var(--red); color: #fff; border-bottom: var(--line); }
.owners .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.owners .section-head p { color: #FFE9E4; }
.owners .eyebrow { color: var(--yellow); }
.perks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.perks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.perks li::before {
  content: '✓';
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  margin-top: 2px;
}
.owners .board {
  padding: 34px 28px 28px;
  color: var(--yellow);
  box-shadow: 12px 12px 0 var(--ink);
}
.owners .board::before,
.owners .board::after { top: 14px; }
.board .big { font-family: 'Lalezar', sans-serif; font-size: clamp(34px, 4.5vw, 46px); line-height: 1.15; margin: 4px 0 14px; }
.board p { color: var(--cream); margin: 0 0 22px; }
.board .mail { display: block; margin-top: 14px; font-size: 14px; color: #CFC6B6; }
.board .mail a { color: var(--yellow); }

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 16px; max-width: 820px; }
.faq-list details { padding: 0; }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* ---------- Footer ---------- */

footer { background: var(--ink); color: #CFC6B6; padding: 48px 0 32px; font-size: 15px; }
footer .cols {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #333;
}
footer .brand .ar { color: var(--yellow); }
footer .brand .en { color: #CFC6B6; }
footer h4 { color: #fff; font-size: 15px; margin: 0 0 10px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
footer a { color: var(--cream); text-decoration: none; }
footer a:hover { color: var(--yellow); }
footer .about { margin: 14px 0 0; max-width: 360px; }
footer .base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; }

/* ---------- Text pages ---------- */

.page-hero { background: var(--yellow); border-bottom: var(--line); padding: 48px 0 40px; }
.page-hero h1 { font-size: clamp(42px, 7vw, 68px); margin: 0; }
.page-hero p { margin: 6px 0 0; font-weight: 600; color: var(--muted); }

.doc { padding: 48px 0 80px; }
.doc .card { padding: clamp(22px, 4vw, 48px); max-width: 860px; }
.doc h2 { font-size: 23px; font-weight: 800; margin: 34px 0 8px; }
.doc h2:first-child { margin-top: 0; }
.doc ul { padding-inline-start: 22px; margin: 8px 0; }
.doc li { margin-bottom: 8px; }
.doc .en { direction: ltr; text-align: left; margin-top: 44px; border-top: 3px dashed var(--ink); padding-top: 28px; }
.doc .en h2 { font-size: 21px; }
.note {
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 600;
  margin: 14px 0;
}
.mailbox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 18px;
  margin: 16px 0;
}
.mailbox .addr { font-weight: 800; font-size: 18px; }

/* ---------- 404 ---------- */

.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.lost .plate { display: inline-block; padding: 18px 40px 10px; margin-bottom: 26px; }
.lost .plate b { font-family: 'Lalezar', sans-serif; font-weight: 400; font-size: 88px; line-height: 1; }
.lost h1 { font-size: clamp(36px, 6vw, 54px); margin: 0 0 8px; }
.lost p { color: var(--muted); margin: 0 0 26px; }

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .top nav a:not(.btn) { display: none; }
  .hero .wrap,
  .owners .wrap { grid-template-columns: 1fr; }
  .phone { width: min(290px, 78vw); margin-top: 12px; }
  .features .grid,
  .steps { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
  footer .cols > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .hero { padding: 36px 0 80px; }
  .brand .en { display: none; }
  .top nav .btn { padding: 0 14px; }
  .store { flex: 1 1 100%; }
  footer .cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* Tile colours (no inline styles, so the security headers can stay strict). */
[data-bg='yellow'] { background: var(--yellow); }
[data-bg='red'] { background: var(--red); }
[data-bg='mint'] { background: var(--mint); }
[data-bg='pink'] { background: #F6C1D0; }
[data-bg='cream'] { background: var(--cream); }

/* The name and the header button never break onto two lines. */
.brand .ar,
.top nav .btn { white-space: nowrap; }
