:root {
  --bg: #f0f2f5; --card: #ffffff; --line: #dcdfe3; --ink: #1b2430; --muted: #5d6877;
  --blue: #2f7fc4; --btn: #2670b0; --blue-ink: #1f6aae; --blue-soft: #dcebf8;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e1116; --card: #171b22; --line: #262c36; --ink: #e8ebf0; --muted: #8b95a3; --btn: #2f7fc4; --blue-ink: #6fb3ea; --blue-soft: #1b2a3a; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); }
a { color: var(--blue-ink); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
h1, h2 { line-height: 1.1; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 24px; }
section { padding: clamp(32px, 5vw, 64px) 0; }

header.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.01em; text-decoration: none; color: var(--ink); }
.brand img { display: block; border-radius: 9px; }
nav.main { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 15px; }
nav.main a { color: var(--muted); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--ink); border-bottom-color: currentColor; }

.hero { padding: clamp(24px, 6vw, 72px) 0 clamp(32px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 6vw, 72px); align-items: center; }
h1 { font-size: clamp(44px, 8vw, 80px); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; }
.lead { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); max-width: 30em; margin: 22px 0 0; }
.lead strong { color: var(--ink); }
.actions { margin-top: 28px; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 12px; background: var(--btn); color: #fff; font-weight: 700; text-decoration: none; }
.btn[aria-disabled="true"] { background: var(--card); color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.badges li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; }
.badges li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }

.phone { margin: 0; }
.phone .frame { border: 8px solid #20262f; border-radius: 34px; overflow: hidden; background: #fff; box-shadow: 0 24px 48px -28px rgba(20, 40, 70, .55); }
.phone .frame img { display: block; width: 100%; height: auto; }
.phone figcaption { margin-top: 14px; font-size: 15px; color: var(--muted); text-align: center; }
.phone figcaption strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 2px; }
.hero-phone { position: relative; isolation: isolate; width: min(280px, 100%); justify-self: center; }
.hero-phone::before { content: ""; position: absolute; inset: -6% -16%; border-radius: 50%; background: var(--blue-soft); z-index: -1; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 4vw, 48px); }
.shots .phone { width: min(270px, 100%); justify-self: center; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.facts div { background: var(--card); padding: 22px 24px; }
.facts dt { font-weight: 700; color: var(--blue-ink); margin-bottom: 4px; }
.facts dd { margin: 0; color: var(--muted); font-size: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; }
.prose { max-width: 44em; }
.prose p, .prose li { margin: 0 0 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { margin: 0 0 14px; padding-inline-start: 1.2em; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -.01em; }
.page-head { padding: clamp(28px, 6vw, 64px) 0 8px; }
.page-head h1 { font-size: clamp(32px, 5.5vw, 54px); max-width: 16em; }
.page-head .lead { margin-top: 18px; }
.crumb { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.crumb a { color: var(--blue-ink); }
.meta { margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.note.courtesy { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: 15px; max-width: 40em; }
article.prose { padding-bottom: 56px; }

footer.bottom { margin-top: 24px; padding: 28px 0 44px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
footer.bottom .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; }
footer.bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer.bottom a { color: var(--muted); }
.langs { display: flex; flex-wrap: wrap; gap: 2px; flex-basis: 100%; font-size: 14px; }
.langs a { text-decoration: none; padding: 4px 9px; border-radius: 6px; }
.langs a:hover { color: var(--ink); }
.langs a[aria-current="true"] { background: var(--blue); color: #fff; }

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phone { order: -1; width: min(220px, 70%); margin-bottom: 8px; }
  .facts { grid-template-columns: 1fr; }
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin-inline: -20px; padding: 0 20px 10px; }
  .shots .phone { flex: 0 0 62%; scroll-snap-align: center; }
}
:lang(ar) h1, :lang(ar) h2 { letter-spacing: 0; line-height: 1.3; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
