/*
  The landing pages for search engines — /real-estate/… (round 105, seo/landing.js).
  No script on them. The tokens are the app's own values, as legal/page.css
  declares them (src/styles/mobdla-theme.css): no colour here is invented.
  Red fills one thing, the call to action; links are the brand's text red.
*/
:root {
  --pink-500: #C8102E;
  --pink-300: #FF5A67;
  --brand-text: var(--pink-500);
  --surface-0: #FAFAFA;
  --surface-1: #FFFFFF;
  --text-1: #111114;
  --text-2: #4A4A52;
  --border: #E6E6E9;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface-0: #0E0E10;
    --surface-1: #17171A;
    --text-1: #EDEDEF;
    --text-2: #B4B4BC;
    --border: #2A2A30;
    --brand-text: var(--pink-300);
  }
}
@font-face { font-family: "Tajawal"; src: url("/fonts/tajawal-arabic-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("/fonts/tajawal-arabic-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--surface-0); color: var(--text-1);
  font-family: "Tajawal", "Poppins", "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  line-height: 1.7;
}
html[lang="en"] body { font-family: "Poppins", "Segoe UI", Tahoma, Arial, sans-serif; }
a { color: var(--brand-text); }
main { max-width: 72rem; margin: 0 auto; padding: 1rem 1rem 4rem; }

header.site {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: 72rem; margin: 0 auto; padding: .75rem 1rem; flex-wrap: wrap;
}
header.site .mark { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--text-1); text-decoration: none; }
header.site .mark img { width: 28px; height: 28px; }
header.site nav { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .95rem; }
header.site nav a { color: var(--text-2); }

nav.crumbs { font-size: .9rem; color: var(--text-2); margin: .5rem 0 1rem; }
nav.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
nav.crumbs li + li::before { content: "›"; margin-inline-end: .25rem; color: var(--text-2); }
html[dir="rtl"] nav.crumbs li + li::before { content: "‹"; }
nav.crumbs a { color: var(--text-2); }

h1 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); line-height: 1.3; margin: .25rem 0 .5rem; }
h2 { font-size: 1.2rem; margin: 2.25rem 0 .75rem; }
.lead { color: var(--text-2); font-size: 1.05rem; max-width: 52rem; margin: 0 0 1rem; }
.aka { color: var(--text-2); font-size: .9rem; }

.actions { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1rem 0 1.5rem; }
.cta {
  display: inline-block; background: var(--pink-500); color: #FFFFFF; text-decoration: none;
  padding: .7rem 1.25rem; border-radius: .6rem; font-weight: 700; min-height: 44px;
}
.secondary {
  display: inline-block; border: 1px solid var(--border); color: var(--text-1); text-decoration: none;
  padding: .7rem 1.25rem; border-radius: .6rem; min-height: 44px; background: var(--surface-1);
}

.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.card { background: var(--surface-1); border: 1px solid var(--border); border-radius: .75rem; overflow: hidden; }
.card a { color: inherit; text-decoration: none; display: block; height: 100%; }
.card .photo { aspect-ratio: 4 / 3; background: var(--border); width: 100%; height: auto; display: block; object-fit: cover; }
.card .body { padding: .75rem .9rem 1rem; }
.card h3 { font-size: 1rem; margin: 0 0 .25rem; line-height: 1.4; }
.card .price { font-weight: 700; margin: .25rem 0; }
.card .facts { color: var(--text-2); font-size: .9rem; margin: 0; }
.card .code { color: var(--text-2); font-size: .8rem; }

table.stats { border-collapse: collapse; width: 100%; max-width: 40rem; background: var(--surface-1); border: 1px solid var(--border); border-radius: .5rem; }
table.stats th, table.stats td { text-align: start; padding: .55rem .8rem; border-bottom: 1px solid var(--border); }
table.stats th { color: var(--text-2); font-weight: 400; width: 55%; }

ul.links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
ul.links a {
  display: inline-block; padding: .4rem .8rem; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface-1); color: var(--text-1); text-decoration: none; font-size: .93rem;
}
ul.links .n { color: var(--text-2); margin-inline-start: .25rem; }

.faq dt { font-weight: 700; margin-top: 1rem; }
.faq dd { margin: .25rem 0 0; color: var(--text-1); }
.note { color: var(--text-2); font-size: .85rem; }

footer.site { max-width: 72rem; margin: 0 auto; padding: 2rem 1rem 3rem; border-top: 1px solid var(--border); font-size: .9rem; color: var(--text-2); }
footer.site nav { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: .5rem; }
footer.site a { color: var(--text-2); }
