@font-face {
  font-family: Quicksand;
  src: url("/fonts/quicksand-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  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: Quicksand;
  src: url("/fonts/quicksand-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Cairo;
  src: url("/fonts/cairo-arabic-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

:root {
  color-scheme: light;
  font-family: Quicksand, Cairo, sans-serif;
  color: #222831;
  background: #f5f8fb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  --blue: #0b61ab;
  --cyan: #20c0f1;
  --ink: #222831;
  --muted: #526170;
  --surface: #fff;
  --line: #d8e2ec;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; font-family: Quicksand, Cairo, sans-serif; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; border-radius: 4px; }
button, summary { font: inherit; }
html[lang="ar"] body { font-family: Cairo, Quicksand, sans-serif; }
html[lang="ar"] .brand, html[lang="ar"] .english-term { direction: ltr; }

.skip-link { position: absolute; z-index: 20; inset-block-start: .75rem; inset-inline-start: .75rem; transform: translateY(-180%); padding: .6rem 1rem; border-radius: .5rem; color: #fff; background: var(--ink); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; z-index: 10; inset-block-start: 0; display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem); min-height: 76px; padding: .7rem clamp(1rem, 4vw, 3.5rem); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .8rem; color: var(--ink); text-decoration: none; font-weight: 600; }
.brand img { width: clamp(128px, 15vw, 180px); height: auto; }
.brand span { padding-inline-start: .8rem; border-inline-start: 1px solid var(--line); font-size: .9rem; }
.desktop-nav { display: flex; align-items: center; justify-content: center; flex: 1; gap: clamp(.7rem, 1.8vw, 1.5rem); }
.desktop-nav a { color: #334253; font-size: .92rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.desktop-nav a:hover { color: var(--blue); }
.language-picker, .mobile-menu { position: relative; flex: 0 0 auto; }
.language-picker > summary, .mobile-menu > summary { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; padding: .5rem .8rem; border: 1px solid #b9c9d9; border-radius: 10px; color: #26394b; background: #fff; cursor: pointer; list-style: none; font-weight: 600; }
.language-picker > summary::-webkit-details-marker, .mobile-menu > summary::-webkit-details-marker { display: none; }
.language-picker summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.language-menu, .mobile-menu nav { position: absolute; z-index: 12; inset-block-start: calc(100% + .5rem); inset-inline-end: 0; display: grid; min-width: 170px; gap: .15rem; padding: .45rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 16px 36px rgba(23,44,66,.16); }
.language-menu a, .mobile-menu nav a { padding: .65rem .8rem; border-radius: 8px; color: #26394b; text-decoration: none; }
.language-menu a:hover, .language-menu a[aria-current="page"], .mobile-menu nav a:hover { color: var(--blue); background: #eaf6ff; }
.header-cta { white-space: nowrap; }
.mobile-menu { display: none; }
.mobile-menu summary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: .75rem 1.2rem; border: 1px solid var(--blue); border-radius: 10px; color: #fff; background: var(--blue); box-shadow: 0 7px 18px rgba(11,97,171,.16); font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; transition: background-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.button:hover { transform: translateY(-1px); background: #084f8c; box-shadow: 0 10px 22px rgba(11,97,171,.23); text-decoration: none; }
.button-small { min-height: 42px; padding: .55rem .9rem; font-size: .88rem; }
.button-outline { border-color: rgba(255,255,255,.8); color: #fff; background: transparent; box-shadow: none; }
.button-outline:hover { background: rgba(255,255,255,.12); }
.button-light { border-color: #fff; color: var(--blue); background: #fff; box-shadow: none; }
.button-light:hover { color: #073e6e; background: #eaf6ff; }

.hero { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: clamp(2rem,5vw,5rem); padding: clamp(3rem,7vw,6.5rem) clamp(1.25rem,6vw,5rem); color: #fff; background: radial-gradient(ellipse at 78% 18%, #1475b7 0, #0b61ab 42%, #08477c 100%); }
.hero-copy { max-width: 650px; }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; margin: 0 0 1.2rem; padding: .45rem .8rem; border: 1px solid rgba(255,255,255,.3); border-radius: 11px; color: #fff; background: rgba(255,255,255,.1); font-size: .9rem; font-weight: 700; }
.eyebrow img { flex: 0 0 30px; width: 30px; height: 30px; }
.hero h1 { max-width: 13ch; margin: 0; font-size: clamp(2.4rem,5.4vw,4.5rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.08; }
.hero-intro { max-width: 58ch; margin: 1.35rem 0 0; color: #edf7ff; font-size: clamp(1.05rem,1.5vw,1.25rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-block-start: 1.8rem; }
.hero-note { margin: 1rem 0 0; color: #d8ecfb; font-size: .9rem; }
.hero-art { min-width: 0; margin: 0; padding: .6rem; overflow: hidden; border: 1px solid rgba(255,255,255,.68); border-radius: 22px; background: #fff; box-shadow: 0 24px 70px rgba(2,24,44,.26); }
.hero-art > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 15px; }
.hero-art figcaption { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .8rem .7rem .35rem; color: #314253; font-size: clamp(.7rem,1.2vw,.9rem); font-weight: 700; }
.hero-art figcaption b { color: var(--cyan); }
.local-pill { flex: 0 0 auto; padding: .28rem .65rem; border-radius: 999px; color: var(--blue); background: #e8f8ff; font-size: .78rem; }

.section { padding: clamp(3.5rem,7vw,6.5rem) clamp(1.25rem,6vw,5rem); }
.section-light { background: var(--surface); border-block: 1px solid var(--line); }
.section-heading { max-width: 790px; margin: 0 auto 2.4rem; text-align: center; }
.section-kicker { margin: 0 0 .5rem; color: var(--blue); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.section h2 { margin: 0; font-size: clamp(1.9rem,3.3vw,3rem); letter-spacing: -.035em; line-height: 1.18; }
.section-heading > p:last-child { margin: .85rem auto 0; color: var(--muted); font-size: 1.08rem; }
.workflow-grid, .capability-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.2rem; max-width: 1220px; margin-inline: auto; }
.workflow-card, .capability-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 26px rgba(27,50,72,.06); }
.workflow-card > img { width: 100%; aspect-ratio: 1.55; object-fit: cover; background: #edf5fb; }
.card-copy { padding: 1.15rem 1.2rem 1.25rem; }
.workflow-card h3, .capability-card h3 { margin: 0; font-size: 1.22rem; line-height: 1.3; }
.workflow-card p, .capability-card p { margin: .5rem 0 0; color: var(--muted); }
.workflow-card details, .capability-card details, .faq-list details { margin-block-start: .85rem; border-block-start: 1px solid #e5edf4; }
details summary { position: relative; padding: .7rem 0 .3rem; color: var(--blue); cursor: pointer; font-size: .92rem; font-weight: 700; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::marker { content: ""; }
details summary::after { content: "+"; display: inline-block; margin-inline-start: .55rem; color: var(--blue); font-size: 1.2em; transition: transform .15s ease; }
details[open] > summary::after { transform: rotate(45deg); }
details > p { margin: .2rem 0 .25rem; color: var(--muted); }

.included { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.9fr); align-items: center; gap: clamp(2rem,5vw,5rem); max-width: 1380px; margin-inline: auto; }
.included > div > p:not(.section-kicker) { max-width: 58ch; color: var(--muted); font-size: 1.08rem; }
.check-list { display: grid; gap: .75rem; margin: 1.3rem 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-inline-start: 1.8rem; color: #334253; }
.check-list li::before { content: ""; position: absolute; inset-block-start: .55rem; inset-inline-start: .12rem; width: .72rem; height: .4rem; border-inline-start: 2px solid var(--blue); border-block-end: 2px solid var(--blue); transform: rotate(-45deg); }
.contact-panel { padding: clamp(1.5rem,4vw,2.6rem); border-radius: 20px; color: #fff; background: var(--ink); box-shadow: 0 20px 50px rgba(15,35,54,.17); }
.contact-panel .section-kicker { color: var(--cyan); }
.contact-panel h3 { margin: .5rem 0; font-size: clamp(1.55rem,2.6vw,2.2rem); line-height: 1.2; }
.contact-panel p:not(.section-kicker) { margin: .8rem 0 1.4rem; color: #d7e0e9; }
.capability-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.capability-card > img { width: 100%; aspect-ratio: 1.55; object-fit: cover; background: #edf5fb; }
.capability-card > div { padding: 1rem 1rem 1.1rem; }
.capability-card h3 { font-size: 1.05rem; }
.capability-card p { font-size: .94rem; }
.capability-card details summary { font-size: .86rem; }
.capability-card details > p { font-size: .9rem; }
.skills { display: grid; grid-template-columns: minmax(250px,.85fr) minmax(0,1.15fr); align-items: start; gap: clamp(2rem,5vw,5rem); max-width: 1380px; margin-inline: auto; }
.skills-copy { padding: clamp(1.3rem,3vw,2.2rem); border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 8px 26px rgba(27,50,72,.05); }
.skills-copy p { margin: 0; color: #394958; font-size: 1.05rem; line-height: 1.8; }
.skills-copy p + p { margin-block-start: 1rem; padding-block-start: 1rem; border-block-start: 1px solid var(--line); }
.faq { padding-block-end: clamp(4rem,8vw,7rem); }
.faq-list { max-width: 850px; margin-inline: auto; }
.faq-list details { margin: 0; padding: .45rem 0 .8rem; }
.faq-list summary { padding: .7rem 0; color: var(--ink); font-size: 1.08rem; }
.faq-list details > p { max-width: 75ch; padding-block-end: .4rem; line-height: 1.7; }

.site-footer { padding: 3.2rem clamp(1.25rem,6vw,5rem) 1rem; color: #fff; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 2rem; max-width: 1220px; margin-inline: auto; }
.footer-brand img { width: 175px; height: auto; }
.footer-brand p { max-width: 30ch; margin: 1rem 0 0; color: #ced7e0; font-size: .94rem; }
.footer-grid h2 { margin: 0 0 .75rem; color: #fff; font-size: .95rem; letter-spacing: .04em; }
.footer-grid > div:not(.footer-brand) { display: grid; align-content: start; gap: .55rem; }
.footer-grid a { width: fit-content; color: #d4dee8; font-size: .91rem; text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.copyright { max-width: 1220px; margin: 2.2rem auto 0; padding-block: 1rem .2rem; border-block-start: 1px solid rgba(255,255,255,.14); color: #aebbc8; font-size: .82rem; text-align: center; }

@media (max-width: 1050px) {
  .site-header { gap: .7rem; padding-inline: 1rem; }
  .desktop-nav { gap: .8rem; }
  .desktop-nav a { font-size: .82rem; }
  .header-cta { display: none; }
  .capability-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .site-header { min-height: 68px; }
  .desktop-nav { display: none; }
  .brand { margin-inline-end: auto; }
  .language-picker > summary { min-height: 42px; padding-inline: .65rem; font-size: .9rem; }
  .mobile-menu { display: block; }
  .mobile-menu > summary { min-height: 42px; padding-inline: .65rem; color: var(--blue); }
  .mobile-menu nav { min-width: min(250px, calc(100vw - 2rem)); }
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-block: 3rem; }
  .hero h1 { max-width: 15ch; font-size: clamp(2.4rem,10vw,3.4rem); }
  .hero-art { max-width: 650px; }
  .workflow-grid { grid-template-columns: 1fr; max-width: 560px; }
  .workflow-card > img { aspect-ratio: 1.65; }
  .included, .skills { grid-template-columns: 1fr; }
  .contact-panel { max-width: 640px; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 430px) {
  .brand img { width: 116px; }
  .brand { gap: .45rem; }
  .brand span { padding-inline-start: .45rem; font-size: .82rem; }
  .language-picker > summary { max-width: 116px; font-size: .82rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-art figcaption { align-items: flex-start; flex-direction: column; font-size: .78rem; }
  .capability-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .capability-card > img { aspect-ratio: 1.7; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.download-status { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.2rem; padding: .55rem .8rem; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; color: #fff; background: rgba(255,255,255,.1); font-size: .9rem; font-weight: 700; }
.download-status svg { flex: 0 0 20px; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.download-hero h1 { max-width: 15ch; }
.download-note { max-width: 56ch; margin: 1.1rem 0 0; color: #e1f0fb; font-size: .92rem; }
.download-hero-art figcaption { color: #465767; font-size: .82rem; }
.download-card-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem; max-width: 1120px; margin-inline: auto; }
.download-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 8px 26px rgba(27,50,72,.06); }
.download-card > img { width: 100%; aspect-ratio: 1.7; object-fit: cover; background: #edf5fb; }
.download-card-copy { padding: 1.25rem 1.35rem 1.45rem; }
.download-card h3 { margin: 0; font-size: 1.25rem; line-height: 1.3; }
.download-card p { margin: .6rem 0 0; color: var(--muted); }
.download-release { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); align-items: center; gap: clamp(2rem,5vw,5rem); max-width: 1320px; margin-inline: auto; }
.download-release h2 { margin: 0; font-size: clamp(1.9rem,3.3vw,3rem); letter-spacing: -.035em; line-height: 1.18; }
.download-release-copy > p:not(.section-kicker) { max-width: 62ch; color: var(--muted); font-size: 1.06rem; }
.download-release .contact-panel { max-width: 620px; }
.download-page .faq-list { max-width: 900px; margin-inline: auto; }

@media (max-width: 760px) {
  .download-card-grid, .download-release { grid-template-columns: 1fr; }
  .download-card-grid { max-width: 560px; }
  .download-card > img { aspect-ratio: 1.65; }
}
