@font-face { font-family: Lato; src: url("fonts/Lato-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Lato; src: url("fonts/Lato-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Lato; src: url("fonts/Lato-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: Cairo; src: url("fonts/Cairo-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Cairo; src: url("fonts/Cairo-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Cairo; src: url("fonts/Cairo-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Cairo; src: url("fonts/Cairo-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: light;

  --navy-900: #04052b;
  --navy: #080957;
  --navy-600: #24266f;
  --navy-300: #64659a;
  --orange: #f15a25;
  --orange-500: #ff6d02;
  --orange-050: #ffecdd;

  --ink: #02031a;
  --body: #3c3d55;
  --muted: #676876;
  --hint: #9393bb;
  --line: #e2e4ef;
  --line-soft: #eef0f7;
  --bg: #f6f7fb;
  --surface: #fbfcfe;
  --white: #fff;

  --shell: 1180px;
  --radius: 14px;
  --font-en: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-ar: Cairo, "Noto Sans Arabic", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
body[data-lang="ar"] { font-family: var(--font-ar); line-height: 1.95; }

.shell { width: min(var(--shell), 100%); margin-inline: auto; padding-inline: clamp(18px, 4vw, 34px); }

a { color: var(--navy-600); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
img { max-width: 100%; }

body[data-lang="en"] [data-l="ar"],
body[data-lang="ar"] [data-l="en"] { display: none !important; }

.skip {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  z-index: 60;
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { inset-inline-start: 0; color: #fff; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(150%) blur(10px);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 70px;
}
.topbar-logo { display: flex; align-items: center; }
.topbar-logo img { height: 30px; width: auto; display: block; }

.topnav { display: flex; gap: 22px; margin-inline-start: auto; }
.topnav a {
  color: var(--navy);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .01em;
}
.topnav a:hover { color: var(--orange); }

.lang-toggle {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
}
.lang-toggle button {
  min-width: 46px;
  padding: 5px 12px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.lang-toggle button[data-set-lang="ar"] { font-family: var(--font-ar); font-size: 12.5px; }
.lang-toggle button[aria-pressed="true"] { background: var(--navy); color: var(--white); }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 7vw, 76px) 0 clamp(58px, 8vw, 92px);
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(241, 90, 37, .38), transparent 62%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 96%);
  color: #e9ecf8;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: linear-gradient(160deg, #000 8%, transparent 62%);
  pointer-events: none;
}
.hero > * { position: relative; }

.hero-passenger {
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(241, 90, 37, .45), transparent 62%),
    linear-gradient(150deg, var(--navy) 0%, #1a1040 96%);
}
.hero-captain {
  background:
    radial-gradient(700px 380px at 12% -8%, rgba(100, 101, 154, .35), transparent 58%),
    linear-gradient(150deg, var(--navy-900) 0%, var(--navy) 96%);
}
.hero-landing { padding-bottom: clamp(48px, 7vw, 72px); }

.hero-single { max-width: 760px; }
.hero-app {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.hero-app > img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
}
.hero-app .eyebrow { margin-bottom: 8px; }
.hero-app h1 { margin: 0; max-width: none; font-size: clamp(28px, 4.8vw, 44px); }
.app-name {
  margin: 6px 0 0;
  color: #ffc7ab;
  font-size: 17px;
  font-weight: 700;
}
body.app-captain .app-name { color: #c8cee6; }

body.app-passenger,
body.app-captain { padding-bottom: 88px; }

.topnav a.other-policy { display: none; }

.landing-inner { max-width: 680px; }
.landing-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: -36px;
  padding-bottom: 64px;
}
.policy-link {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(8, 9, 87, .09);
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}
.policy-link:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(8, 9, 87, .12); color: inherit; }
.policy-link img { width: 58px; height: 58px; border-radius: 14px; flex: 0 0 58px; }
.policy-link h2 { margin: 0 0 6px; color: var(--ink); font-size: 22px; }
.policy-link p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.policy-link .go { color: var(--navy-600); font-size: 14px; font-weight: 800; }
.policy-link.passenger { border-top: 5px solid var(--orange); }
.policy-link.captain { border-top: 5px solid var(--navy); }
.policy-link.passenger:hover .go { color: var(--orange); }
.policy-link.captain:hover .go { color: var(--navy); }

.switch-app {
  position: fixed !important;
  z-index: 9999;
  inset-inline-end: 20px;
  bottom: 24px;
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 56px;
  height: 56px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(8, 9, 87, .24);
  color: var(--navy);
  text-decoration: none !important;
  overflow: hidden;
  white-space: nowrap;
  transition:
    width .28s ease,
    max-width .28s ease,
    padding .28s ease,
    gap .28s ease,
    transform .15s ease,
    box-shadow .15s ease;
}
.switch-app:hover,
.switch-app:focus-visible {
  width: auto;
  max-width: min(280px, calc(100vw - 24px));
  gap: 10px;
  padding: 7px 16px 7px 7px;
  text-decoration: none !important;
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(8, 9, 87, .28);
  outline: none;
}
.switch-app img {
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  border-radius: 11px;
  flex: 0 0 42px;
  display: block;
  object-fit: cover;
}
.switch-app-text {
  display: block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-width .28s ease, opacity .2s ease .05s;
}
.switch-app:hover .switch-app-text,
.switch-app:focus-visible .switch-app-text {
  max-width: 200px;
  opacity: 1;
  pointer-events: auto;
}
.switch-app-text strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  padding-inline-end: 2px;
}

.hero-logo { height: 46px; width: auto; margin-bottom: 30px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #ffc7ab;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--orange); }
body[data-lang="ar"] .eyebrow { letter-spacing: normal; }

.hero h1 {
  margin: 0 0 14px;
  max-width: 22ch;
  color: var(--white);
  font-size: clamp(34px, 5.4vw, 56px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.02em;
}
body[data-lang="ar"] .hero h1 { letter-spacing: normal; line-height: 1.25; }
.hero p.lede { margin: 0; max-width: 62ch; color: #c8cee6; font-size: 17.5px; }
.policy-date {
  margin: 22px 0 0;
  color: #a9b2d4;
  font-size: 14px;
  font-weight: 600;
}

.apps { margin-top: -46px; }
.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.app-card {
  position: relative;
  overflow: hidden;
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(8, 9, 87, .09);
}
.app-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 5px; }
.app-card.passenger::before { background: linear-gradient(90deg, var(--orange), var(--orange-500)); }
.app-card.captain::before { background: linear-gradient(90deg, var(--navy), var(--navy-300)); }

.app-head { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; }
.app-head img { width: 54px; height: 54px; border-radius: 14px; box-shadow: 0 8px 18px rgba(8, 9, 87, .18); }
.app-head h3 { margin: 0; color: var(--ink); font-size: 21px; font-weight: 800; }
.app-head span { color: var(--muted); font-size: 13.5px; }
.app-card > p { margin: 0; font-size: 15px; }

.doc { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 44px; padding: 54px 0 70px; align-items: start; }

.toc { position: sticky; top: 92px; }
.toc h2 {
  margin: 0 0 12px;
  color: var(--hint);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
body[data-lang="ar"] .toc h2 { letter-spacing: normal; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a {
  display: flex;
  gap: 9px;
  padding: 7px 12px;
  border-inline-start: 2px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.toc a::before { content: counter(toc) "."; color: var(--hint); font-weight: 800; }
.toc a:hover { border-inline-start-color: var(--orange); background: var(--white); color: var(--navy); }
.toc a.active { border-inline-start-color: var(--orange); background: var(--white); color: var(--navy); }
.toc a.active::before { color: var(--orange); }

article {
  padding: clamp(26px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(8, 9, 87, .06);
}
article > section + section { margin-top: 46px; padding-top: 44px; border-top: 1px solid var(--line-soft); }

h2.sec {
  display: flex;
  align-items: baseline;
  gap: 13px;
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(21px, 2.6vw, 27px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
}
body[data-lang="ar"] h2.sec { letter-spacing: normal; }
h2.sec .num {
  flex: 0 0 auto;
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
h3 { margin: 30px 0 8px; color: var(--navy-600); font-size: 17.5px; font-weight: 800; }
h4 { margin: 22px 0 6px; color: var(--ink); font-size: 15.5px; font-weight: 700; }
p { margin: 0 0 14px; }
ul, ol.list { margin: 0 0 16px; padding-inline-start: 22px; }
li { margin-bottom: 9px; }
strong { color: var(--navy); font-weight: 700; }

.table-wrap { overflow-x: auto; margin: 18px 0 20px; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
caption {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 800;
  text-align: start;
}
th, td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); text-align: start; vertical-align: top; }
thead th {
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}
body[data-lang="ar"] thead th { letter-spacing: normal; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #fafbfe; }
td strong { display: block; }

.tag {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}
.tag.p { background: var(--orange-050); color: #b8410f; }
.tag.c { background: #e7e8f4; color: var(--navy); }
.tag.b { background: #e3f4e6; color: #276b36; }

.callout {
  margin: 20px 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--navy);
  border-radius: 12px;
  background: var(--surface);
}
.callout.action { border-inline-start-color: var(--orange); background: linear-gradient(100deg, #fff6f1, var(--surface)); }
.callout h3, .callout h4 { margin-top: 0; }
.callout :last-child { margin-bottom: 0; }

.summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 14px; margin: 20px 0 6px; }
.summary-grid div {
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.summary-grid strong { display: block; margin-bottom: 3px; color: var(--navy); }
.summary-grid span { color: var(--muted); font-size: 14px; }

.contact-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.contact-card dt { color: var(--hint); font-size: 11.5px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-card dd { margin: 4px 0 0; color: var(--navy); font-size: 16px; font-weight: 700; }
body[data-lang="ar"] .contact-card dt { letter-spacing: normal; }

footer.site {
  padding: 52px 0 40px;
  background: var(--navy-900);
  color: #9aa2c8;
  font-size: 14px;
}
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 34px; }
footer.site img { height: 34px; width: auto; margin-bottom: 16px; }
footer.site h3 { margin: 0 0 12px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
body[data-lang="ar"] footer.site h3 { letter-spacing: normal; }
footer.site ul { margin: 0; padding: 0; list-style: none; }
footer.site li { margin-bottom: 8px; }
footer.site a { color: #cfd5ee; text-decoration: none; }
footer.site a:hover { color: var(--orange-500); }

.foot-simple { margin-bottom: 24px; }
.foot-simple img { height: 34px; width: auto; margin-bottom: 12px; }
.foot-simple p { margin: 0; color: #9aa2c8; font-size: 14px; max-width: 420px; }
.foot-base {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
}

@media (max-width: 980px) {
  .doc { grid-template-columns: 1fr; gap: 26px; padding-top: 40px; }
  .toc { position: static; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
  .toc ol { columns: 2; column-gap: 26px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .topnav { display: none; }
  .lang-toggle { margin-inline-start: auto; }
  .app-grid, .landing-cards { grid-template-columns: 1fr; }
  .hero-app { flex-direction: column; align-items: flex-start; }
  .toc ol { columns: 1; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero h1 { font-size: 32px; }
  .switch-app { inset-inline-end: 12px; bottom: 12px; }
}

@media print {
  .topbar, .toc, .lang-toggle, footer.site, .switch-app { display: none; }
  body { background: #fff; font-size: 11pt; }
  .hero { background: var(--navy) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  article { border: 0; box-shadow: none; padding: 0; }
  .doc { grid-template-columns: 1fr; }
}

/* Twsila website navbar alignment */
.site-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
  font-family: var(--font-en);
}
body[data-lang="ar"] .site-navbar { font-family: var(--font-ar); }
.site-navbar-container {
  width: min(960px, 100%);
  min-height: 72px;
  margin-inline: auto;
  padding-inline: 12px;
  display: flex;
  align-items: center;
}
.site-navbar-brand {
  width: 8.333333%;
  min-width: 72px;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.site-navbar-brand img {
  display: block;
  width: 100%;
  max-width: 88px;
  height: auto;
}
.site-navbar-menu {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}
.site-navbar-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin-inline: auto;
}
.site-navbar-links a {
  padding: 8px 12px;
  color: rgba(0,0,0,.65);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
  text-transform: capitalize;
  transition: color .5s ease;
}
.site-navbar-links a:hover,
.site-navbar-links a:focus { color: #ef5b27; }
.site-lang-switch { display: flex; align-items: center; }
.site-lang-switch button {
  display: none;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 8px 12px;
  background: transparent;
  color: #198754;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  border-radius: 6px;
}
body[data-lang="en"] .site-lang-switch button[data-set-lang="ar"],
body[data-lang="ar"] .site-lang-switch button[data-set-lang="en"] { display: inline-flex; }
.site-lang-switch button:hover { background: rgba(25,135,84,.06); }
.site-lang-switch img { width: 25px; height: auto; display: block; }
.site-navbar-toggler {
  display: none;
  margin-inline-start: auto;
  padding: 4px 12px;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}
.site-navbar-toggler-icon {
  display: block;
  width: 30px;
  height: 30px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833,37,41,.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (max-width: 991.98px) {
  .site-navbar-container { width: min(720px, 100%); flex-wrap: wrap; }
  .site-navbar-brand { width: 16.666667%; max-width: 96px; }
  .site-navbar-toggler { display: block; }
  .site-navbar-menu {
    display: none;
    flex: 0 0 100%;
    width: 100%;
    padding: 8px 0 14px;
  }
  .site-navbar-menu.is-open { display: block; }
  .site-navbar-links { display: flex; flex-direction: column; align-items: stretch; }
  .site-navbar-links a { padding: 8px 0; }
  .site-lang-switch { margin-top: 5px; }
  .site-lang-switch button { padding-inline: 0; }
}
@media (max-width: 767.98px) {
  .site-navbar-container { width: 100%; }
  .site-navbar-brand { width: 16.666667%; min-width: 64px; }
}

@font-face { font-family: "TwsilaOswald"; src: url("/assets/fonts/Oswald-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "TwsilaCairo"; src: url("/assets/fonts/Cairo-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
body[data-lang="en"] .site-navbar { font-family: TwsilaOswald, sans-serif; }
body[data-lang="ar"] .site-navbar { font-family: TwsilaCairo, sans-serif; }
@media (min-width: 1200px) { .site-navbar-container { width: min(1140px, 100%); } }
@media (min-width: 1400px) { .site-navbar-container { width: min(1320px, 100%); } }
@media print { .site-navbar { display: none !important; } }

.foot-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 22px;margin:12px 0 18px;padding-top:14px;border-top:1px solid rgba(255,255,255,.16)}
.foot-links a{color:#fff;text-decoration:none;font-weight:700;font-size:.92rem;opacity:.9;transition:color .2s ease,opacity .2s ease}
.foot-links a:hover,.foot-links a:focus{color:#ef5b27;opacity:1}
@media (max-width:640px){.foot-links{flex-direction:column;align-items:center;gap:8px}}
