/* od-M1 (طلب المالك 2026-11-09): الصفحات التعريفية ملفاتٌ ثابتة خارج التطبيق — فتُعاد هنا رموز `docs/design-system.md`
   بقيمها نفسها (يطابقها `test-landing-pages` بـ`src/index.css`)، والخطّان من الموقع لا من جوجل (`font-src 'self'`). */

@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/ibm-plex-sans-arabic-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(fonts/ibm-plex-sans-arabic-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Readex Pro Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 160 700;
  src: url(fonts/readex-pro-arabic-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Readex Pro Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 160 700;
  src: url(fonts/readex-pro-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f6f7f6;
  --surface: #ffffff;
  --surface-2: #eff1f0;
  --line: #e2e5e4;
  --ink: #16181d;
  --ink-2: #5a6270;
  --ink-3: #697079;
  --brand: #6c2e5b;
  --brand-hover: #57244a;
  --brand-soft: #f4eaf1;
  --font-display: "Readex Pro Variable", system-ui, -apple-system, sans-serif;
  --font-body: "IBM Plex Sans Arabic", system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  color-scheme: only light;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

a {
  color: inherit;
  touch-action: manipulation;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.35;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 17px;
  font-family: var(--font-body);
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

.top {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.logo svg {
  display: block;
  height: 40px;
  width: auto;
}

.logo-stroke {
  stroke: var(--brand);
}

.logo-fill,
.logo-stores {
  fill: var(--brand);
}

.logo-use {
  fill: var(--ink-2);
}

.logo-sub {
  fill: var(--ink-3);
}

.logo-use,
.logo-stores {
  font-family: var(--font-display);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background-color 150ms;
}

.btn:hover {
  background: var(--surface-2);
}

.btn-main {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.btn-main:hover {
  background: var(--brand-hover);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

main {
  display: block;
}

section {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

section:last-of-type {
  border-bottom: 0;
}

.stack > * + * {
  margin-top: 16px;
}

.hero {
  padding: 64px 0 40px;
}

.hero .brand-line {
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
}

.lead {
  max-width: 720px;
  color: var(--ink-2);
  font-size: 17px;
}

.muted {
  color: var(--ink-2);
}

.small {
  font-size: 13px;
  color: var(--ink-2);
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.card > * + * {
  margin-top: 8px;
}

.card-brand {
  border-inline-start: 3px solid var(--brand);
}

a.card {
  display: block;
  text-decoration: none;
  transition: border-color 150ms, background-color 150ms;
}

a.card:hover {
  border-color: var(--brand);
  background: var(--surface-2);
}

.more {
  color: var(--brand);
  font-weight: 600;
  font-size: 13px;
}

.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
}

ul.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.ticks li {
  position: relative;
  padding-inline-start: 24px;
}

ul.ticks li + li {
  margin-top: 8px;
}

ul.ticks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 4px;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
}

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

details + details {
  margin-top: 8px;
}

summary {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  touch-action: manipulation;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  margin-inline-start: auto;
  padding-inline-start: 16px;
  color: var(--brand);
  font-size: 20px;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

details > p {
  padding: 0 16px 16px;
  color: var(--ink-2);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
}

.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.foot {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 24px 0 40px;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

.foot nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-2);
  font-size: 13px;
  text-underline-offset: 4px;
}

.foot nav a:hover {
  color: var(--ink);
}

@media (max-width: 400px) {
  h1 {
    font-size: 26px;
  }

  .hero {
    padding: 40px 0 32px;
  }

  .btn-row .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
