:root {
  --bg: #f6faf7; --surface: #ffffff; --surface-2: #eef7f2;
  --text: #0b1f18; --muted: #52645c; --line: #d8e9df;
  --brand: #047857; --brand-2: #10b981; --brand-deep: #064e3b;
  --gold: #c79a3a; --gold-soft: #fdf3dc;
  --shadow: 0 1px 2px rgba(6,78,59,.06), 0 24px 48px -24px rgba(6,78,59,.25);
  --radius: 22px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07130f; --surface: #0d1f19; --surface-2: #10271f;
    --text: #e7f2ec; --muted: #9db3a8; --line: #1d3a30;
    --brand: #34d399; --brand-2: #6ee7b7; --brand-deep: #022c22;
    --gold: #e2bd6b; --gold-soft: #2a2414;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 24px 48px -24px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; letter-spacing: -.01em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav { display: flex; gap: 6px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

/* Hero */
.hero { position: relative; overflow: hidden; color: #f0fdf7; background:
  radial-gradient(900px 500px at 85% -10%, rgba(253,230,138,.22), transparent 60%),
  radial-gradient(700px 500px at 0% 100%, rgba(16,185,129,.45), transparent 60%),
  linear-gradient(160deg, #065f46 0%, #047857 45%, #064e3b 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1'%3E%3Cpath d='M40 4l10 26 26 10-26 10-10 26-10-26L4 40l26-10z'/%3E%3Ccircle cx='40' cy='40' r='9'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fde68a; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -.02em; margin: 20px 0 8px; }
.hero .arabic { font-family: "Amiri", serif; font-size: clamp(28px, 4vw, 40px); color: #fde68a; margin: 0 0 18px; line-height: 1.4; text-align: left; }
.hero p.lead { font-size: 19px; color: rgba(240,253,247,.86); max-width: 34ch; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 14px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; }
.btn-light { background: #fff; color: #064e3b; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.btn-ghost { color: #ecfdf5; border-color: rgba(255,255,255,.28); }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: .7; line-height: 1.1; }
.btn span { line-height: 1.15; }
.hero-stats { display: flex; gap: 28px; margin-top: 36px; padding-bottom: 72px; flex-wrap: wrap; }
.hero-stats div { font-size: 14px; color: rgba(240,253,247,.75); }
.hero-stats strong { display: block; font-family: var(--serif); font-size: 26px; color: #fff; font-weight: 600; }

/* Phones */
.phones { position: relative; height: 560px; align-self: end; }
.phone { position: absolute; width: 250px; border-radius: 38px; padding: 9px; background: #0b1512; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), inset 0 0 0 1.5px rgba(255,255,255,.12); }
.phone img { border-radius: 30px; width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; object-position: top; }
.phone.front { left: 50%; transform: translateX(-30%); bottom: -120px; z-index: 2; }
.phone.back { left: 50%; transform: translateX(-105%) rotate(-6deg); bottom: -170px; opacity: .92; width: 225px; }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head .kicker { color: var(--gold); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4vw, 42px); line-height: 1.12; letter-spacing: -.015em; margin: 10px 0 12px; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.feature .icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(140deg, var(--surface-2), color-mix(in srgb, var(--brand-2) 18%, var(--surface))); color: var(--brand); margin-bottom: 16px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery figure { margin: 0; }
.gallery .shot { border-radius: 26px; padding: 6px; background: #0b1512; box-shadow: var(--shadow); }
.gallery img { border-radius: 21px; aspect-ratio: 1320 / 2400; object-fit: cover; object-position: top; width: 100%; }
.gallery figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 12px; }

.band { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split h2 { margin-top: 6px; }
.split p { color: var(--muted); }
.langs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.lang { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.lang .native { font-size: 24px; font-weight: 600; }
.lang .native[lang] { font-family: "Amiri", serif; }
.lang .en { color: var(--muted); font-size: 14px; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

.quote { text-align: center; max-width: 760px; margin: 0 auto; }
.quote .ar { font-family: "Amiri", serif; font-size: clamp(26px, 3.6vw, 36px); line-height: 1.7; color: var(--brand); margin: 0 0 12px; }
.quote .tr { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--text); margin: 0; }
.quote .ref { color: var(--muted); font-size: 14px; margin-top: 8px; }

.cta-card { border-radius: 30px; padding: 56px 32px; text-align: center; color: #ecfdf5; background:
  radial-gradient(600px 300px at 90% 0%, rgba(253,230,138,.25), transparent 60%),
  linear-gradient(150deg, #047857, #064e3b); box-shadow: var(--shadow); }
.cta-card h2 { color: #fff; margin-top: 0; }
.cta-card p { color: rgba(236,253,245,.85); margin: 0 auto 26px; max-width: 46ch; }
.cta-card .cta { justify-content: center; }

/* Document pages (privacy, support) */
.page-hero { padding: 64px 0 32px; background: linear-gradient(180deg, var(--surface-2), var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 5vw, 48px); line-height: 1.1; margin: 8px 0 10px; letter-spacing: -.015em; }
.page-hero p { color: var(--muted); margin: 0; }
.doc { padding: 40px 0 72px; }
.doc h2 { font-size: 24px; margin: 40px 0 10px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow); }
.muted { color: var(--muted); font-size: 15px; }
.faq { display: grid; gap: 14px; margin-top: 28px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p, .faq details ul { margin: 0 0 16px; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; gap: 8px; }
  .hero-stats { padding-bottom: 8px; }
  .phones { height: 430px; }
  .phone { width: 200px; }
  .phone.back { width: 180px; }
  .phone.front { bottom: -150px; }
  .phone.back { bottom: -190px; }
  .features { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav a { padding: 6px 9px; font-size: 14px; }
  .brand span { display: none; }
  section { padding: 64px 0; }
  .features { grid-template-columns: 1fr; }
  .gallery { gap: 12px; }
  .hero-stats { gap: 20px; }
  .cta-card { padding: 40px 20px; border-radius: 24px; }
  .phones { height: 320px; }
  .phone.back { display: none; }
  .phone.front { transform: translateX(-50%); width: 220px; bottom: -170px; }
}
@media (prefers-reduced-motion: no-preference) {
  .feature, .gallery .shot { transition: transform .25s ease, box-shadow .25s ease; }
  .feature:hover, .gallery .shot:hover { transform: translateY(-3px); }
}
