@font-face {
  font-family: "Noto Sans Arabic";
  src: url("/assets/NotoSansArabic.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 62.5% 100%;
  font-display: swap;
}
:root {
  --canvas: #FBF2DC;
  --paper: #FFFBF2;
  --ink: #263A32;
  --muted: #626E65;
  --line: #BCC0B4;
  --mint: #9BD7B8;
  --mint-ink: #33705C;
  --soft: #E6EFE4;
  --accent: #A7D9BE;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 500 17px/1.85 "Noto Sans Arabic", system-ui, sans-serif; }
body.topic-deadlines { --accent: #F1DFC4; --soft: #F5EBD8; }
body.topic-import { --accent: #D8E6DB; --soft: #EBF0E8; }
.site-top .site-wrap { justify-content: flex-start; gap: 28px; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: 8px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 99px; color: #4A5A52; font-size: 15px; font-weight: 700; text-decoration: none; }
.site-nav a:hover { background: rgba(38, 58, 50, .06); color: var(--ink); }
.site-download { display: inline-flex; align-items: center; min-height: 44px; margin-inline-start: auto; padding: 0 18px; border-radius: 99px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.site-download:hover { background: #1B2B24; text-decoration: none; }
a { color: inherit; text-underline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--mint-ink); outline-offset: 3px; }
.skip { position: absolute; top: -70px; inset-inline-start: 12px; z-index: 30; padding: 8px 15px; border-radius: 10px; background: var(--ink); color: var(--paper); }
.skip:focus { top: 12px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 24px; padding: 0; list-style: none; color: var(--muted); font-size: 14px; font-weight: 700; }
.crumbs li + li::before { content: "‹"; margin-inline-end: 7px; }
.crumbs a { text-decoration: none; }
.topic-hero { padding-block: 46px 84px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 430px); gap: 54px; align-items: center; }
.eyebrow { display: inline-block; margin-bottom: 16px; padding: 3px 13px; border-radius: 99px; background: var(--accent); font-size: 14px; font-weight: 850; }
h1, h2, h3, p { margin-block-start: 0; }
h1 { margin-bottom: 18px; font-size: clamp(38px, 5.3vw, 70px); font-weight: 850; line-height: 1.21; }
.lead { max-width: 650px; margin-bottom: 24px; color: var(--muted); font-size: clamp(17px, 1.9vw, 21px); line-height: 1.85; }
.hero-points { display: grid; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: baseline; gap: 10px; font-weight: 700; }
.hero-points li::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--mint-ink); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border: 1px solid var(--ink); border-radius: 99px; font-size: 15px; font-weight: 800; text-align: center; text-decoration: none; }
.button.primary { background: var(--ink); color: var(--paper); }
.button.secondary { background: transparent; }
.button:hover { text-decoration: underline; }
.hero-media { display: flex; justify-content: center; align-items: center; min-height: 540px; margin: 0; padding: 36px 20px; border-radius: 36px; background: var(--accent); }
.hero-media .phone { width: min(245px, 100%); }
.hero-media.duo { gap: 14px; }
.hero-media.duo .phone { width: min(180px, 47%); }
.phone { overflow: hidden; padding: 7px; border-radius: 39px; background: #202622; }
.phone img { width: 100%; border-radius: 32px; }
.hero-media figcaption { max-width: 140px; margin-inline-start: 18px; font-size: 13px; font-weight: 750; }
.section { padding-block: 76px; }
.section.alternate { background: var(--paper); }
.section-head { max-width: 760px; margin-bottom: 32px; }
.kicker { display: block; margin-bottom: 7px; color: var(--mint-ink); font-size: 15px; font-weight: 850; }
h2 { margin-bottom: 12px; font-size: clamp(29px, 3.7vw, 45px); font-weight: 850; line-height: 1.3; }
.section-head p, .prose p { color: var(--muted); }
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: center; }
.feature-row.reverse { grid-template-columns: 280px minmax(0, 1fr); }
.feature-row.reverse .feature-shot { order: -1; }
.feature-shot { width: min(280px, 100%); margin: 0 auto; }
.feature-shot figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; text-align: center; }
.prose h3 { margin-bottom: 8px; font-size: 24px; line-height: 1.4; }
.prose p { max-width: 720px; margin-bottom: 15px; }
.prose ul { display: grid; gap: 10px; margin: 18px 0 0; padding-inline-start: 24px; }
.prose li { padding-inline-start: 4px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.choice { min-width: 0; padding: 28px; border: 1px solid rgba(38,58,50,.16); border-radius: 26px; background: var(--paper); }
.choice h3 { margin-bottom: 10px; font-size: 22px; }
.choice p { margin: 0; color: var(--muted); }
.choice a { display: inline-block; margin-top: 16px; font-weight: 800; }
.step-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.step-list li { position: relative; min-width: 0; padding: 62px 23px 25px; border-radius: 25px; background: var(--paper); counter-increment: steps; }
.step-list li::before { content: counter(steps); position: absolute; top: 20px; inset-inline-start: 23px; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--mint); font-size: 15px; font-weight: 850; }
.step-list h3 { margin-bottom: 8px; font-size: 20px; }
.step-list p { margin: 0; color: var(--muted); font-size: 15px; }
.note { margin-top: 27px; padding: 18px 22px; border-inline-start: 4px solid var(--mint-ink); border-radius: 10px; background: var(--soft); }
.note p { margin: 0; }
.faq { display: grid; gap: 11px; max-width: 850px; }
.faq details { padding: 15px 21px; border: 1px solid rgba(38,58,50,.17); border-radius: 16px; background: var(--paper); }
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { margin: 9px 0 0; color: var(--muted); }
.related { padding-block: 66px; background: var(--soft); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related a { display: block; min-height: 100%; padding: 22px; border: 1px solid rgba(38,58,50,.17); border-radius: 22px; background: var(--paper); font-weight: 850; text-decoration: none; }
.related a span { display: block; margin-top: 5px; color: var(--muted); font-size: 14px; font-weight: 600; }
.related a:hover { text-decoration: underline; }
.site-download-section { padding-block: 96px; background: var(--mint); text-align: center; }
.site-download-section h2 { margin: 0; font-size: clamp(34px, 5.4vw, 64px); }
.site-download-section p { margin: 12px 0 0; color: #2E4A3E; font-size: 18px; }
.site-download-section .stores { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 10px; margin-top: 34px; --badge-h: 52px; }
.site-download-section .badge { display: inline-flex; flex: none; height: var(--badge-h); border-radius: 8px; }
.site-download-section .badge img { width: auto; height: 100%; }
.site-download-section .share { display: inline-flex; align-items: center; gap: 8px; height: var(--badge-h); padding: 0 20px; border: 1.5px solid var(--ink); border-radius: 7px; background: transparent; color: var(--ink); font: 800 16px/1.6 "Noto Sans Arabic", system-ui, sans-serif; cursor: pointer; }
.site-download-section .share svg { width: 20px; height: 20px; }
.toast { position: fixed; inset-inline: 0; bottom: 24px; z-index: 40; width: fit-content; margin: auto; padding: 8px 18px; border-radius: 99px; background: var(--ink); color: var(--canvas); font-size: 14px; font-weight: 750; opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.toast.on { opacity: 1; }
footer { padding-block: 36px; }
@media (max-width: 900px) { .site-nav { display: none; } }
@media (max-width: 850px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-media { min-height: 380px; }
  .feature-row, .feature-row.reverse { grid-template-columns: minmax(0, 1fr) 230px; gap: 20px; }
  .feature-row.reverse .feature-shot { order: 0; }
}
@media (max-width: 650px) {
  body { font-size: 16px; }
  .site-top .site-wrap { justify-content: space-between; gap: 12px; }
  .site-download { padding: 0 14px; font-size: 14.5px; }
  .topic-hero { padding-block: 24px 56px; }
  .hero-media { min-height: 0; padding: 24px 14px; border-radius: 25px; }
  .hero-media .phone { width: min(205px, 70%); }
  .hero-media.duo .phone { width: min(145px, 47%); }
  .hero-media figcaption { max-width: 100px; font-size: 12px; }
  .section { padding-block: 55px; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-shot { width: min(230px, 100%); }
  .choice-grid, .step-list, .related-grid { grid-template-columns: 1fr; }
  .choice { padding: 22px; }
  .related { padding-block: 54px; }
  .site-download-section { padding-block: 60px; }
  .site-download-section .stores { margin-top: 24px; --badge-h: 46px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
