/* doroobi.com — Doroobi's own look: night teal, coral, sun, the Crew, Lama Sans (Arabic and Latin, by Baianat). */
@font-face { font-family: 'Lama Sans'; src: url('fonts/LamaSans-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Lama Sans'; src: url('fonts/LamaSans-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Lama Sans'; src: url('fonts/LamaSans-700.woff2') format('woff2'); font-weight: 600 700; font-display: swap; }
@font-face { font-family: 'Lama Sans'; src: url('fonts/LamaSans-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --teal: #0E7C7B; --teal-light: #3CC2B6; --teal-soft: #DDF2EF; --coral: #FF6A3D; --coral-soft: #FFE4DA; --sun: #FFC93C; --sun-soft: #FFF3CC;
  --sky-soft: #E2ECFF; --night: #10222B; --night-2: #1A3340; --night-accent: #5FE0D4;
  --bg: #F3F6F6; --surface: #FFFFFF; --ink: #12232B; --muted: #4A5C63; --line: #DCE7E5;
  --free: #3DBE78; --slow: #F2B632; --heavy: #F07A2E; --standstill: #E0453A;
  --radius: 22px; --slab: 40px;
}
/* Light theme only, also when the phone or computer is in dark mode. */
:root { color-scheme: light; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; font: 400 1rem/1.6 'Lama Sans', system-ui, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--teal); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[id] { scroll-margin-top: 84px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
[dir="rtl"] .eyebrow { letter-spacing: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.3; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; }
h2 em, h1 em { font-style: normal; color: var(--teal); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
.btn-primary { background: var(--coral); color: var(--night); }
.btn-primary:hover { background: #ff825e; }
.btn-light { background: #fff; color: var(--night); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn:active { transform: scale(.98); }

/* Header: links on both sides, Sahm and the name in the middle. Partners and Communities open a panel below. */
.top { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.top .bar { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.15rem; white-space: nowrap; }
.brand img { width: 32px; height: 32px; }
.brand .ar { color: var(--teal); font-weight: 400; }
.top .brand { grid-column: 2; grid-row: 1; position: relative; z-index: 1; }
.menu { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: subgrid; align-items: center; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.nav-l, .nav-r { display: flex; align-items: center; gap: 2px; }
.nav-l { grid-column: 1; justify-self: start; }
.nav-r { grid-column: 3; justify-self: end; }
.nav-l > li > a, .nav-r > li > a:not(.btn), .dd-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: .95rem; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s ease; }
.nav-l > li > a:hover, .nav-r > li > a:not(.btn):hover, .dd-btn:hover { background: #F0F1F5; }
.dd-btn[aria-expanded="true"] { background: var(--teal-soft); }
.chev { width: 12px; height: 12px; flex: none; transition: transform .2s ease; }
.dd-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-r .btn { min-height: 44px; padding: 8px 20px; margin-inline-start: 6px; font-size: .95rem; color: var(--night); }
.nav-r .btn:hover { background: #ff825e; }
.bar-get, .menu-btn { display: none; }
.dd-panel { position: absolute; top: calc(100% + 6px); inset-inline-start: 0; z-index: 2; display: grid; grid-template-columns: 290px minmax(220px, 260px); gap: 28px; align-items: start; padding: 22px; background: #F0F1F5; color: var(--ink); border-radius: 28px; box-shadow: 0 24px 60px rgba(16, 34, 43, .18), 0 2px 8px rgba(16, 34, 43, .06); animation: dd-in .2s cubic-bezier(.2, .8, .2, 1); }
@keyframes dd-in { from { opacity: 0; transform: translateY(-6px); } }
.dd-card { display: flex; flex-direction: column; padding: 8px 8px 18px; border-radius: 18px; background: #fff; color: var(--ink); text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.dd-card:hover { box-shadow: 0 10px 24px rgba(16, 34, 43, .12); transform: translateY(-2px); }
.dd-card .pic { height: 215px; border-radius: 14px; }
.dd-card strong { margin: 14px 8px 4px; font-size: 17px; font-weight: 700; line-height: 1.3; }
.dd-card .dd-t { margin: 0 8px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.dd-links { padding-top: 6px; }
.dd-h { margin: 0 0 8px; font-size: 20px; font-weight: 700; line-height: 1.3; }
.dd-links a { display: flex; align-items: center; min-height: 48px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.dd-links a:hover { color: var(--teal); text-decoration: underline; }

/* Hero */
.hero { background: radial-gradient(ellipse 60% 80% at 75% 35%, rgba(14, 124, 123, .6), transparent 70%), linear-gradient(180deg, var(--night), #0A1820); color: #fff; padding: 64px 0 96px; overflow: hidden; border-radius: 0 0 var(--slab) var(--slab); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 700; margin-bottom: 18px; }
.hero h1 em { color: var(--night-accent); }
.hero .lead { color: #CFE3DF; margin: 0 0 28px; }
.hero .eyebrow { color: var(--night-accent); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; list-style: none; color: #A9C4BF; font-size: .95rem; }
.facts li::before { content: '✓'; color: var(--night-accent); margin-inline-end: 6px; }

/* Phone mock-ups (plain HTML, no screenshots) */
.phone { position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 18.5; margin-inline: auto; background: #0A1419; border-radius: 44px; padding: 10px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset 0 0 0 2px #2B3F48; }
.screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #EAF1EE; color: var(--ink); font-size: 13px; line-height: 1.4; }
.screen.mapbg { background:
  linear-gradient(90deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%) 0 0 / 120px 120px,
  linear-gradient(0deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%) 0 0 / 120px 120px,
  linear-gradient(135deg, #E5EFE9, #DCEBE5); }
.screen svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.screen .sahm { position: absolute; width: 44px; height: 44px; }
.card-ui { position: absolute; inset-inline: 12px; background: #fff; border-radius: 18px; padding: 12px 14px; box-shadow: 0 6px 18px rgba(16, 34, 43, .18); color: #12232B; }
.card-ui b { font-size: 1.25rem; }
.card-ui .muted { color: #5B6C72; font-size: 12px; }
.card-ui .row { display: flex; align-items: center; gap: 10px; }
.card-ui .row img { width: 42px; height: 42px; flex: none; }
.card-ui .btns { display: flex; gap: 6px; margin-top: 8px; }
.card-ui .btns span { flex: 1; text-align: center; padding: 7px; border-radius: 999px; font-weight: 600; font-size: 12px; background: #DDF2EF; color: #0A5E5B; }
.card-ui .btns span.on { background: #0E7C7B; color: #fff; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 8px; font-size: 11px; font-weight: 600; background: #DDF2EF; color: #0A5E5B; }
.pill.dark { background: #10222B; color: #fff; }
.banner-ui { position: absolute; inset-inline: 0; top: 0; background: #10222B; color: #fff; padding: 34px 14px 12px; display: flex; gap: 10px; align-items: center; }
.banner-ui .arrow { font-size: 34px; line-height: 1; }
.banner-ui .big { font-size: 1.5rem; font-weight: 700; }
.banner-ui .st { color: #5FE0D4; font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 70px; margin: 10px 0 4px; }
.bars span { flex: 1; border-radius: 4px 4px 0 0; background: rgba(14, 124, 123, .35); }
.bars span.best { background: #0E7C7B; }
.bar-labels { display: flex; gap: 5px; font-size: 10px; color: #5B6C72; }
.bar-labels span { flex: 1; text-align: center; }
.float { position: absolute; z-index: 2; background: #fff; color: #12232B; border-radius: 16px; padding: 10px 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); font-weight: 600; font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.float img { width: 28px; height: 28px; }
.hero-visual { position: relative; }
.hero-visual .f1 { top: 12%; inset-inline-start: -2%; }
.hero-visual .f2 { bottom: 16%; inset-inline-end: -4%; background: var(--sun); color: var(--night); }

.c-t1 { top: 40px; } .c-t2 { top: 124px; } .c-t3 { top: 136px; } .c-t4 { top: 196px; } .c-t5 { top: 256px; } .c-b { bottom: 16px; }
.card-ui.tint { background: #DDF2EF; } .card-ui.danger { color: #B4283A; }
.card-ui.row-split { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.screen.plain { background: #F3F6F6; }
.sahm-pos { left: 28px; bottom: 84px; }
.h95 { height: 95%; } .h88 { height: 88%; } .h70 { height: 70%; } .h52 { height: 52%; } .h58 { height: 58%; } .h66 { height: 66%; }

/* Sections */
section { padding: 88px 0; }
.slab { background: var(--surface); border-radius: var(--slab); margin: 24px 12px; }
.slab.night { background: var(--night); color: #E2F1EE; }
.slab.night .lead, .slab.night .eyebrow { color: #A9C4BF; }
.slab.night h2 em { color: var(--night-accent); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* Plan your drive */
.plan-wrap { position: relative; margin-top: 32px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); height: min(640px, 78vh); background: #DDE8E4; }
#plan-map { position: absolute; inset: 0; z-index: 1; }
.plan-panel { position: absolute; z-index: 2; top: 16px; inset-inline-start: 16px; width: min(380px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto; background: var(--surface); color: var(--ink); border-radius: 20px; box-shadow: 0 10px 30px rgba(16, 34, 43, .2); padding: 14px; }
.field { position: relative; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.field .dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.field .dot.from { background: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.field .dot.to { background: var(--coral); box-shadow: 0 0 0 3px var(--coral-soft); }
.field input { flex: 1; min-width: 0; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); padding: 0 12px; font: inherit; font-size: 16px; }
.icon-btn { width: 44px; height: 44px; flex: none; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; font: inherit; font-size: 18px; display: grid; place-items: center; }
.suggest { list-style: none; margin: 0 0 8px; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.suggest:empty { display: none; }
.suggest button { width: 100%; text-align: start; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.suggest li:last-child button { border-bottom: 0; }
.suggest button:hover, .suggest button:focus-visible { background: var(--teal-soft); }
.suggest small { display: block; color: var(--muted); }
.plan-status { font-size: .88rem; color: var(--muted); margin: 6px 2px; }
.route-card { width: 100%; text-align: start; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 16px; padding: 12px 14px; margin-top: 10px; font: inherit; cursor: pointer; display: block; }
.route-card[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-soft); }
.route-card .t { font-size: 1.4rem; font-weight: 700; }
.route-card .meta { color: var(--muted); font-size: .9rem; }
.route-card .verdict { margin-top: 6px; font-size: .88rem; }
.route-card .leave { margin-top: 6px; font-size: .88rem; color: var(--teal); font-weight: 600; }
.legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; font-size: .8rem; color: var(--muted); }
.legend i { display: inline-block; width: 18px; height: 5px; border-radius: 3px; margin-inline-end: 5px; vertical-align: middle; }
.legend .free { background: var(--free); } .legend .slow { background: var(--slow); } .legend .heavy { background: var(--heavy); } .legend .standstill { background: var(--standstill); }

/* Feature rows */
.features { display: grid; gap: 96px; margin-top: 56px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature:nth-child(even) .feature-text { order: 2; }
.feature h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 12px; }
.feature p { color: var(--muted); font-size: 1.08rem; margin: 0 0 18px; }
.feature .visual { padding: 32px 0; border-radius: var(--slab); }
.v-teal { background: var(--teal-soft); } .v-sun { background: var(--sun-soft); } .v-coral { background: var(--coral-soft); } .v-sky { background: var(--sky-soft); }

/* Community and partner cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; text-align: start; }
.cards .c { border-radius: var(--radius); padding: 24px; color: var(--ink); }
.cards .c img { width: 56px; height: 56px; margin-bottom: 10px; }
.cards .c h3 { font-size: 1.15rem; margin-bottom: 6px; letter-spacing: 0; }
.cards .c p { margin: 0 0 14px; color: var(--muted); }
.cards .c a { font-weight: 600; }
.ticks { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.05rem; }
.ticks li::before { content: '●'; color: var(--night-accent); flex: none; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }

/* Get the app */
.stores { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 8px 22px; border-radius: 16px; background: var(--night); color: #fff; text-decoration: none; line-height: 1.2; text-align: start; }
.store small { font-size: .75rem; color: #A9C4BF; }
.store strong { font-weight: 600; font-size: 1.1rem; }

/* Footer */
.site-foot { padding: 56px 0 32px; }
.foot-cols { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 24px; }
.foot-cols h4 { margin: 0 0 12px; font-size: 1rem; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-cols a { color: var(--muted); text-decoration: none; }
.foot-cols a:hover { color: var(--teal); text-decoration: underline; }
.foot-cols .about p { color: var(--muted); margin: 10px 0 0; max-width: 24em; }
.foot-cols .about .brand { color: var(--ink); }
.crew-road { position: relative; margin: 48px 0 24px; height: 96px; border-radius: 48px; background: var(--night); overflow: hidden; }
.crew-road::after { content: ''; position: absolute; inset-inline: 24px; top: 50%; height: 4px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, var(--sun) 0 28px, transparent 28px 52px); opacity: .8; }
.crew-road .crew { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: space-around; padding-inline: 16px; }
.crew-road .crew img { width: 60px; height: 60px; animation: hop 2.6s ease-in-out infinite; }
.crew-road .crew img:nth-child(2n) { animation-delay: .4s; } .crew-road .crew img:nth-child(3n) { animation-delay: .8s; }
@keyframes hop { 0%, 90%, 100% { transform: translateY(0); } 45% { transform: translateY(-8px); } }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .9rem; }
.legal p { margin: 0; }

/* Privacy and terms pages */
.doc { padding: 48px 0 64px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 4px; }
.doc h2 { font-size: 1.25rem; margin: 32px 0 8px; letter-spacing: 0; }
.doc .updated { color: var(--muted); margin: 0 0 24px; }
.doc section { padding: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0; }
.doc th, .doc td { text-align: start; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-weight: 600; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer p { margin: 0; }
footer.site-foot { border-top: 0; }
footer.site-foot .wrap { display: block; }

/* Full-width layout */
.wrap-wide { width: min(1440px, 100% - 32px); margin-inline: auto; }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .95rem; }
h2.huge { font-size: clamp(2.2rem, 5.6vw, 4.4rem); font-weight: 800; max-width: 16em; margin: 0 auto 28px; }
/* Hero: the road photo under a dusk shade, white text in the thinnest weight the site has. */
.hero2 { position: relative; min-height: min(90vh, 780px); display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; border-radius: 0 0 var(--slab) var(--slab); background: #33434D; }
.hero2 .hero-photo { position: absolute; inset: 0; overflow: hidden; }
.hero2 .hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transform-origin: 50% 62%; will-change: transform; }
.hero2 .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 20, 26, .58), rgba(8, 20, 26, .48) 50%, rgba(8, 20, 26, .64)); }
.hero2 .inner { position: relative; z-index: 1; padding: 96px 16px 120px; width: min(1100px, 100%); text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero2 h1 { font-size: clamp(2.8rem, 8.4vw, 6.6rem); font-weight: 400; letter-spacing: -.01em; line-height: 1.04; margin: 0 auto 22px; color: #fff; }
[dir="rtl"] .hero2 h1 { line-height: 1.2; letter-spacing: 0; }
.hero2 h1 em { font-style: normal; color: #7FE7DC; }
.hero2 .eyebrow { color: #BFF3EE; }
.hero2 .lead { color: rgba(255, 255, 255, .94); font-weight: 400; margin: 0 auto 30px; }
.hero2 .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; text-shadow: none; }
.hero2 .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.slab.black { background: var(--teal-soft); color: var(--ink); padding: 40px 0 72px; }
.slab.black .eyebrow { color: var(--teal); }
.slab.black .plan-wrap { border-color: var(--line); margin-top: 8px; box-shadow: 0 18px 40px rgba(16, 34, 43, .12); }
.map-line { text-align: center; padding: 72px 16px 0; }
.map-line h2 { font-size: clamp(2rem, 4.8vw, 3.8rem); font-weight: 800; max-width: 18em; margin: 0 auto 28px; }
.map-line h2 em { color: var(--teal); }
.feature-text .eyebrow { margin-bottom: 8px; }
.route-art { position: relative; height: clamp(200px, 26vw, 420px); overflow: hidden; margin: 24px 0; }
.route-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-art .sahm3d { position: absolute; left: 50%; top: 50%; width: clamp(120px, 15vw, 220px); transform: translate(-50%, -50%) rotate(72deg); } /* along the road where it crosses the middle */
.cards.three { grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.cards.three .c p { margin: 0; color: var(--ink); font-size: 1.05rem; }
.mosaic { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 14px; }
.tile { position: relative; border-radius: 28px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; padding: 18px; }
.tile.tall { grid-row: span 2; align-items: center; }
.tile .phone { width: min(240px, 90%); }
.tile > img, .tile > .sahm3d { position: absolute; width: 96px; height: 96px; inset-inline-end: 18px; top: 18px; }
.tile > .sahm3d { width: 150px; height: 150px; inset-inline-end: 4px; top: 0; }
/* Sahm in 3D: 48 rendered frames (8 across, 6 down) played with steps(). Still on the first frame with reduced motion. */
.sahm3d { display: block; aspect-ratio: 1; background: url(/assets/crew/sahm-3d.webp) 0 0 / 800% 600% no-repeat; animation: sahm-col .3s steps(8) infinite, sahm-row 2.4s steps(6) infinite; }
/* Not ".top": that is the site header, whose blur and bottom line would show around Sahm. */
.sahm3d.from-above { background-image: url(/assets/crew/sahm-3d-top.webp); animation-duration: .5s, 4s; }
@keyframes sahm-col { to { background-position-x: 114.2857%; } }
@keyframes sahm-row { to { background-position-y: 120%; } }
.t-night { background: #DCEBFF; } .t-sun { background: var(--sun); } .t-coral { background: var(--coral); } .t-teal { background: var(--teal-light); } .t-sky { background: #BFD4FF; }
.tchip { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #12232B; font-weight: 700; padding: 12px 18px; border-radius: 999px; box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }
.tchip.dark { background: #10222B; color: #fff; }
.tchip i { width: 12px; height: 12px; border-radius: 50%; background: #3DBE78; }
.join { padding-top: 64px; }
.wordmark { position: relative; overflow: hidden; text-align: center; margin: 56px 0 8px; user-select: none; }
.wordmark.under-hero { margin: 40px 0 16px; }
.wordmark .word { display: block; font-weight: 800; font-size: clamp(5rem, 25vw, 24rem); line-height: .95; letter-spacing: -0.04em; color: var(--teal-light); }
[dir="rtl"] .wordmark .word { letter-spacing: 0; line-height: 1.2; }
.wchip { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: clamp(.85rem, 1.6vw, 1.3rem); color: #12232B; box-shadow: 0 10px 24px rgba(0, 0, 0, .15); }
.wchip img { width: 34px; height: 34px; }
.wchip.w1 { background: #FFE59A; top: 14%; inset-inline-start: 12%; }
.wchip.w2 { background: #CFEFF9; top: 52%; inset-inline-start: 40%; }
.wchip.w3 { background: #FFD3C4; top: 22%; inset-inline-end: 6%; }
.wchip .sign { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 4px solid #D7262E; font-size: .8rem; }

/* Grey bands (News & updates, Meet the communities) */
.band { background: #F0F1F5; overflow-x: clip; }
.ck { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
[dir="rtl"] .ck, [dir="rtl"] .kicker, [dir="rtl"] .p-new { letter-spacing: 0; }
[dir="rtl"] .ck { font-size: 12px; }
[dir="rtl"] .kicker { font-size: 14px; }

/* Meet the communities: four coloured cards with a picture on top */
.communities { padding: 80px 0 88px; }
.wrap-c { width: min(1226px, 100% - 32px); margin-inline: auto; }
.kicker { margin: 0 0 32px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #1E2427; }
.crow { display: grid; grid-template-columns: repeat(4, minmax(0, 290px)); justify-content: center; gap: 22px; }
.ccard { display: flex; flex-direction: column; min-height: 460px; border: 3px solid; border-radius: 20px; overflow: hidden; color: #1E2427; }
.ccard.sky { background: #B3E5FC; border-color: #8ED3F4; }
.ccard.lav { background: #F0E4FF; border-color: #DACAF5; }
.ccard.yel { background: #FFF48F; border-color: #EADC66; }
.ccard.pink { background: #FFBFBF; border-color: #F29E9E; }
.ccard .pic { aspect-ratio: 1; }
.cbody { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.cbody .ck { color: #1E2427; margin-bottom: 6px; }
.cbody h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.cbody p:not(.ck) { margin: 0 0 18px; font-size: 14px; line-height: 1.5; }
.btn-line { align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 20px; border: 1px solid #1E2427; border-radius: 999px; background: transparent; color: #1E2427; font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.btn-line:hover { background: #1E2427; color: #fff; }
.btn-line.lg { min-height: 52px; padding: 12px 28px; font-size: 16px; }
.cmore { margin: 40px 0 0; text-align: center; }

/* Pictures: drawn scenes on a studio-style backdrop. Pieces are placed with physical left/right to match the SVG. */
.pic { position: relative; overflow: hidden; border-radius: 18px; isolation: isolate; }
.pic > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pic > img, .pic > span { position: absolute; }
.pic-map { background: radial-gradient(90% 60% at 50% 0%, #8FD5F6, transparent 70%), linear-gradient(180deg, #56BBE8 0%, #86CFF2 64%, #A4DBF5 100%); }
.pic-map .p-sahm { left: 34%; bottom: 13%; width: 32%; }
.pic-beta { background: radial-gradient(90% 60% at 50% 0%, #C8B4FA, transparent 70%), linear-gradient(180deg, #A58AEE 0%, #C1ABF6 64%, #D3C3F9 100%); }
.pic-beta .p-pal { left: 2%; bottom: 6%; width: 52%; }
.p-new { top: 9%; right: 5%; padding: 6px 14px; border-radius: 999px; background: var(--sun); color: #12232B; font-size: 13px; font-weight: 800; letter-spacing: .06em; transform: rotate(8deg); box-shadow: 0 6px 14px rgba(59, 42, 115, .25); }
.pic-report { background: radial-gradient(90% 60% at 50% 0%, #FFE98A, transparent 70%), linear-gradient(180deg, #FFCD2E 0%, #FFDF5E 64%, #FFE97F 100%); }
.pic-report .p-snail { left: 8%; bottom: 8%; width: 46%; }
.pic-report .p-cone { left: 63%; bottom: 30%; width: 22%; }
.p-rep { top: 8%; right: 8%; display: grid; place-items: center; width: 20%; aspect-ratio: 1; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 6px rgba(255, 255, 255, .45), 0 8px 16px rgba(107, 78, 0, .25); }
.p-rep svg { width: 46%; height: 46%; }
.pic-translate { background: radial-gradient(90% 60% at 50% 0%, #FFC4C4, transparent 70%), linear-gradient(180deg, #FF8A8A 0%, #FFA5A5 64%, #FFB8B8 100%); }
.pic-translate .p-sun { left: 24%; bottom: 5%; width: 52%; }
.p-bub { padding: 8px 16px; border-radius: 18px; font-size: 20px; font-weight: 700; line-height: 1.3; box-shadow: 0 8px 18px rgba(122, 31, 31, .2); }
.p-bub::after { content: ''; position: absolute; bottom: -7px; width: 16px; height: 16px; background: inherit; transform: rotate(45deg); border-radius: 0 0 4px 0; }
.p-hello { top: 10%; left: 7%; background: #fff; color: #12232B; }
.p-hello::after { right: 22%; }
.p-marhaba { top: 24%; right: 7%; background: var(--teal); color: #fff; }
.p-marhaba::after { left: 22%; }
.pic-city { background: radial-gradient(90% 60% at 50% 0%, #B8F0E8, transparent 70%), linear-gradient(180deg, #62CDC1 0%, #9FE2D8 70%, #BDEDE6 100%); }
.pic-city .p-gate { left: 56%; bottom: 17%; width: 22%; }
.pic-city .p-cone { left: 22%; bottom: 7%; width: 16%; }
.pic-city .p-pal { left: 78%; bottom: 33%; width: 15%; }
.dd-card .pic-map .p-sahm { left: 37%; bottom: 10%; width: 27%; }

/* News & updates: text on one side, a tall picture card with app pieces floating over its edges on the other. */
.news { padding: 32px 0 56px; }
.news-row { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); align-items: center; gap: 48px; padding: 48px 0; }
.news-text h2 { margin: 0 0 14px; font-size: 34px; font-weight: 700; line-height: 1.12; }
[dir="rtl"] .news-text h2 { line-height: 1.35; }
.news-text .nl { margin: 0 0 26px; font-size: 20px; line-height: 1.45; color: #444; }
.btn-fill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 28px; border-radius: 999px; background: var(--coral); color: var(--night); font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none; transition: background-color .15s ease; }
.btn-fill:hover { background: #ff825e; }
.nv { position: relative; height: 420px; }
.nv-card { position: relative; width: 200px; height: 420px; margin-inline: auto; overflow: hidden; border-radius: 28px; box-shadow: 0 24px 50px rgba(16, 34, 43, .16); }
.nv-card > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.nv-f { position: absolute; z-index: 2; box-shadow: 0 16px 36px rgba(16, 34, 43, .22); }
/* 3D drive: the map plane leans back toward a horizon */
.c3d { background: linear-gradient(180deg, #9FD6FA 0%, #D8EFFF 26%, #EEF6F8 32%); }
.c3d .c3d-city { position: absolute; top: 72px; left: 0; width: 100%; height: 40px; }
.c3d-plane { position: absolute; left: 50%; bottom: 0; width: 1400px; height: 2000px; margin-left: -700px; transform-origin: 50% 100%; transform: perspective(400px) rotateX(45deg);
  background: linear-gradient(90deg, transparent 45%, #fff 45%, #fff 55%, transparent 55%) 0 0 / 200px 200px, linear-gradient(0deg, transparent 45%, #fff 45%, #fff 55%, transparent 55%) 0 0 / 200px 200px, #DCEAE3; }
.c3d-plane svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.c3d-haze { position: absolute; left: 0; right: 0; top: 100px; height: 90px; background: linear-gradient(180deg, #EEF6F8 0%, rgba(238, 246, 248, 0) 100%); }
.c3d-arrow { position: absolute; left: 50%; bottom: 22px; width: 132px; margin-left: -66px; aspect-ratio: 1; background: url(/assets/crew/arrow-3d-chase.webp) 0 0 / 800% 600% no-repeat; animation: sahm-col .4s steps(8) infinite, sahm-row 3.2s steps(6) infinite; }
.nv-turn { top: 24px; left: calc(50% - 166px); width: 236px; overflow: hidden; border-radius: 18px; background: #12171A; color: #fff; }
.nv-turn .tt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.nv-turn .ti { width: 34px; height: 34px; flex: none; }
.nv-turn b { display: block; font-size: 24px; line-height: 1.1; }
.nv-turn .tt span { font-size: 14px; font-weight: 600; color: #CFE3DF; }
.nv-turn .tn { display: flex; align-items: center; gap: 6px; padding: 7px 16px; background: #3B4448; color: #E7EDEF; font-size: 13px; font-weight: 600; }
.nv-turn .tn .ti { width: 18px; height: 18px; }
.ti.right { transform: scaleX(-1); }
.nv-compass { top: 214px; left: calc(50% + 72px); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; }
.nv-compass svg { width: 34px; height: 34px; }
/* Flat map card (share, Crew) */
.cmap { background: linear-gradient(90deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%) 0 0 / 100px 100px, linear-gradient(0deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%) 0 0 / 100px 100px, linear-gradient(160deg, #E4EFE9, #D6E8E0); }
.cmap-arrow { position: absolute; left: 104px; top: 208px; width: 70px; transform: rotate(-58deg); filter: drop-shadow(0 6px 6px rgba(16, 34, 43, .25)); }
.nv-share { bottom: 30px; left: calc(50% - 170px); width: 252px; padding: 16px; border-radius: 20px; background: #12171A; color: #fff; }
.nv-share b { display: block; margin-bottom: 12px; font-size: 15px; }
.nv-share .ico { display: flex; gap: 10px; }
.nv-share .ico i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #3B4448; color: #fff; }
.nv-share .ico svg { width: 22px; height: 22px; }
.nv-eta { top: 104px; left: calc(50% - 8px); display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; white-space: nowrap; }
.nv-eta i { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
/* Flood: rain falls over a wet street */
.cflood { background: linear-gradient(180deg, #8AA2B5 0%, #B8C7D2 44%); }
.rain { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='60'%3E%3Cg stroke='%23fff' stroke-width='1.6' stroke-linecap='round' opacity='.75'%3E%3Cpath d='M9 4 6 16M31 22l-3 12M19 40l-3 12'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 40px 60px; animation: rain .55s linear infinite; }
@keyframes rain { to { background-position: -15px 60px; } }
.cflood-drop { position: absolute; left: 50%; bottom: 66px; width: 92px; margin-left: -46px; animation: hop 2.6s ease-in-out infinite; }
.nv-chip { display: inline-flex; align-items: center; gap: 10px; padding-block: 10px; padding-inline: 10px 18px; border-radius: 999px; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.3; }
.nv-chip img, .nv-chip .ok { width: 30px; height: 30px; flex: none; }
.nv-chip .ok { display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; }
.nv-chip .ok svg { width: 18px; height: 18px; }
.nv-chip.yellow { top: 64px; left: calc(50% - 172px); background: var(--sun); white-space: nowrap; }
.nv-chip.white { bottom: 26px; left: calc(50% - 40px); border-radius: 20px; background: #fff; white-space: nowrap; }
.nv-chip .ct b { display: block; }
.nv-chip .ct { font-weight: 600; color: var(--muted); }
.nv-chip .ct b { color: var(--ink); font-weight: 700; }
/* Crew on the map */
.cpin { position: absolute; left: 120px; top: 318px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; box-shadow: 0 8px 18px rgba(16, 34, 43, .2); }
.cpin img { width: 40px; height: 40px; }
.nv-pin { display: flex; align-items: center; gap: 10px; padding-block: 8px; padding-inline: 8px 18px; border-radius: 18px; background: #fff; color: var(--muted); font-size: 12px; line-height: 1.3; white-space: nowrap; }
.nv-pin img { width: 46px; height: 46px; flex: none; }
.nv-pin b { display: block; color: var(--ink); font-size: 15px; }
.pin-gate { top: 70px; left: calc(50% - 168px); }
.pin-snail { top: 196px; left: calc(50% + 16px); }
.nv-sahm { position: absolute; z-index: 3; left: calc(50% - 176px); bottom: -30px; width: 136px; }

/* Map widget */
.leaflet-container { font: inherit; }
.crew-marker { filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3)); }
.end-marker { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.end-marker.from { background: #0E7C7B; } .end-marker.to { background: #FF6A3D; }

@media (max-width: 960px) {
  .cards.three { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .tile { min-height: 200px; }
  .tile.tall { grid-row: auto; grid-column: 1 / -1; }
  .hero .wrap, .feature, .split { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-text { order: 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cols .about { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .wchip { display: none; }
  .mosaic { grid-template-columns: 1fr; }
  .hero2 .inner { padding: 72px 16px 96px; }
  section { padding: 64px 0; }
  .slab { margin: 16px 0; border-radius: 28px; }
  .cards { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 72px; }
  .hero-visual .float { display: none; }
  .plan-wrap { height: auto; display: flex; flex-direction: column; }
  #plan-map { position: relative; height: 380px; order: 2; }
  .plan-panel { position: relative; inset: auto; width: auto; max-height: none; box-shadow: none; border-radius: 0; order: 1; }
  .brand .ar { display: none; }
  .doc thead { display: none; }
  .doc table, .doc tbody, .doc tr, .doc td { display: block; }
  .doc tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .doc td { border: 0; padding: 4px 0; }
  .doc td::before { content: attr(data-label); display: block; font-weight: 600; font-size: .85rem; color: var(--muted); }
}

/* Header between tablet and laptop widths: tighter links, the name in one language only. */
@media (max-width: 1100px) and (min-width: 861px) {
  .top .brand .ar { display: none; }
  .nav-l > li > a, .nav-r > li > a:not(.btn), .dd-btn { padding: 0 10px; }
  .nav-r .btn { padding: 8px 16px; }
}
@media (max-width: 1024px) {
  .crow { grid-template-columns: repeat(2, minmax(0, 340px)); }
}
/* Tablets and phones: a menu button opens a full-width panel with the same links and groups. */
@media (max-width: 860px) {
  .top .bar { position: static; display: flex; gap: 8px; }
  .top .brand { margin-inline-end: auto; }
  .bar-get { display: inline-flex; min-height: 44px; padding: 8px 16px; font-size: .9rem; color: var(--night); }
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
  .menu-btn:hover { background: #F0F1F5; }
  .menu-btn svg { width: 24px; height: 24px; }
  .menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-open { display: none; }
  .menu-btn[aria-expanded="true"] .i-close { display: block; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; padding: 8px 16px 28px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 18px 30px rgba(16, 34, 43, .14); }
  .top.menu-open .menu { display: block; animation: dd-in .2s cubic-bezier(.2, .8, .2, 1); }
  .nav-l, .nav-r { display: block; justify-self: stretch; }
  .nav-l > li, .nav-r > li { border-bottom: 1px solid var(--line); }
  .nav-l > li > a, .nav-r > li > a:not(.btn), .dd-btn { display: flex; width: 100%; justify-content: space-between; min-height: 56px; padding: 0 8px; border-radius: 12px; font-size: 1.05rem; font-weight: 600; }
  .chev { width: 14px; height: 14px; }
  .nav-r > li.nav-get { display: none; }
  .dd-panel { position: static; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0 0 14px; padding: 16px; border-radius: 20px; box-shadow: none; animation: none; }
  .dd-links { order: -1; padding-top: 0; }
  .dd-h { font-size: 17px; }
  .dd-card .pic { height: 170px; }
  html.menu-lock { overflow: hidden; }
  .news-row { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 40px 0; }
}
@media (max-width: 600px) {
  .crow { grid-template-columns: minmax(0, 1fr); }
  .ccard { min-height: 0; }
  .communities { padding: 56px 0 64px; }
  .news-text h2 { font-size: 28px; }
  .news-text .nl { font-size: 18px; }
}
